wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP precompiled??" Watch "JSP precompiled??" New topic

JSP precompiled??

neeti ravi

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
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.
neeti ravi

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
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
Compile error at JSP
Something wrong with useBean?
Pre Complilation of JSP files in Websphere 6
deploy with precompiled file,not .jsp.
JSP, Servlets