File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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 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:
subject: JSP precompiled??
It's not a secret anymore!