File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Recompile JSP Watch "Recompile JSP New topic

Recompile JSP's on Sun One

Adnaan Sikandar

Joined: Feb 05, 2004
Posts: 3
Is there any way to recompile JSPs of a deployed web application? I am using Sun One 7.
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

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

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
I agree. Here's the link:
subject: Recompile JSP's on Sun One
jQuery in Action, 3rd edition