This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: JSP precompiled??
 
Similar Threads
Pre Complilation of JSP files in Websphere 6
deploy with precompiled file,not .jsp.
JSP, Servlets
Compile error at JSP
Something wrong with useBean?