File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes JSP precompiled?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP precompiled??" Watch "JSP precompiled??" New topic
Author

JSP precompiled??

neeti ravi
Greenhorn

Joined: Mar 18, 2001
Posts: 9
Is it true that JSP is precompiled??or is it compiled at the time when it is converted to a servlet??and what about servlets.It is precompiled??
Please help....
thanks in advance
neeti
manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
A jsp is compiled the first time it is called by a client..and yes it is compiled into a servlet.
manav
neeti ravi
Greenhorn

Joined: Mar 18, 2001
Posts: 9
Thanks manav
so that means JSP is not precompiled,right??
and servlets are precompiled.
but what happens when a servlet is included in nother one, will it have to be reloaded.i guess some servers have that option, but otherwise what happens??
thanks again
neeti
Dustin Marx
Ranch Hand

Joined: Mar 06, 2001
Posts: 40
I understand that you can precompile JSPs now as well. The Java "Blueprints" at http://java.sun.com/j2ee/blueprints/packaging_deployment/tools/index.html even reports that this is a necessary requirement for a J2EE server to perform at deployment of a J2EE application.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP precompiled??
 
Similar Threads
JSP, Servlets
Pre Complilation of JSP files in Websphere 6
deploy with precompiled file,not .jsp.
Compile error at JSP
Something wrong with useBean?