This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Recompile JSP's on Sun One