Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP/Servelets - when do they get compiled

Status
Not open for further replies.

patnim17

Programmer
Jun 19, 2005
111
US
Hi,
I am not sure if this is a Weblogic or JSP related question but I will ask here anyways...

When you have a JSP/servlet bundled into an EAR and deployed in Weblogic, does weblogic try to compile it when you try to access this JSP page?

Pat
 
After you have deploy the EAR and accessed the jsp on a url through a browser, I think the application server will check if that jsp file more updated than the compiled classes for your jsp page. If it is more updated, the application server will compile the jsp into Java class again.

Application server will compile your jsp at the first time you
access the jsp until that jsp is updated and redeploy again.

Remove the old EAR from application server and then deploy an updated EAR can ensure there is no cache files of jsp page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top