File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Precompiling jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Precompiling jsp" Watch "Precompiling jsp" New topic

Precompiling jsp

Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 129
What does precompiling a jsp page mean ? under what circumstances do we use it?
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
It means that the jsp is ready to go when the first request for it is made. All JSPs need to be translated into a .java file (usually made into a Servlet), then compiled into a .class file. At this point it is ready to run in your web container. None of this is done until you try to run a JSP unless you pre-compile. The it is translated and compiled before the first request is made
I agree. Here's the link:
subject: Precompiling jsp
It's not a secret anymore!