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 Other Java Products and Servers and the fly likes Recompile JSP's on Sun One 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 » Products » Other Java Products and Servers
Bookmark "Recompile JSP Watch "Recompile JSP New topic
Author

Recompile JSP's on Sun One

Adnaan Sikandar
Greenhorn

Joined: Feb 05, 2004
Posts: 3
Hi,
Is there any way to recompile JSPs of a deployed web application? I am using Sun One 7.
Thanks,
Adnaan
Rajeev Iyer
Ranch Hand

Joined: Jun 19, 2002
Posts: 42
I'm not very sure what you are trying to do, but if my guess is right, you want to change / modify some JSP code without redeploying your war file.
If thats the case, find out the path where the web app has been undeployed and modify the JSP. You might need to delete the generated servlet for the JSP to be recomplied.
Ron Havelock
Greenhorn

Joined: Jul 18, 2003
Posts: 6
Don't forget to stop and start the appserver after changing the jsp, deleting the generated files.
Manjunatha Prasad
Greenhorn

Joined: Jun 09, 2004
Posts: 2
No need of Stopping the server or starting for the dynamic recompilation of jsp after deployment. And also no need to delete earlier servlets also.

Just in the iPlanet Administration window, you enable "Enable Dynamic Class Reloading". This will solve the problem.

Good luck
 
wood burning stoves
 
subject: Recompile JSP's on Sun One
 
Similar Threads
applets!!!
Strange Error- Invalid pc in line number table
Java versioning problem
org.apache.jasper.JasperException: Unable to compile class for JSP
java.lang.VerifyError