Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is the jasper engine within tomcat

Status
Not open for further replies.

linusSanto

Programmer
Jul 31, 2003
15
IN
Is the jasper engine within tomcat act as a compiler for the jsp?
Is javac (as in jsdk1.4) is the compiler for the servlets within tomcat?

I am very confused ??????????
Plz can anyone help me?

Thanks ion advance
 
Yes, Apache's Jasper JSP compiler compiles jsp files.

yes, javac from the sdk 1.4 is used instead. If you look at the bat file that starts up tomcat, i.e:-

D:\j2sdk1.4.2\bin\java.exe -jar -Duser.dir="D:\Tomcat41" "D:\Tomcat41\bin\bootstrap.jar" start


~za~
You can't bring back a dead thread!
 
Hi
Thank u for helping me.
But now i am having another question
It the javac compiler itself compiles the sevlet then how
it does not allow to save the servlets with a name other than its class name
(As javac only allow that facility in the simple java application)


Plz give some explaination on this

Thanks in advance

Bye
 
What's the question here?

The Java specification states that a class should be contained in a file whose fully qualified name (including path) is identical to that of the classname (including package) of that class when seen from a root of the classpath.
This applies to the root directory from where you are compiling as well for the sources of that class.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top