Reputation: 1549
I am working on a dynamic web project and using JSP .When I create a JSP file and run it on server it works fine. But as I update my JSP file (even small changes) that are not reflected on the running window. I have cleaned and restarted the server but the Output donot update accordingly . I am not getting how to work .(I executed my code with different file name it worked perfectly but if I use old name it doesnot work).
I am new to this Please help me and tell me where I am going wrong. Please help?
Upvotes: 0
Views: 980
Reputation: 72
First you stop the server. then remove your project from server. then compile your project. after that add to server and run.
Upvotes: 0
Reputation: 11
Edit the file {jbossroot}/server/default/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml
Change the property "deleteWorkDirOnContextDestroy" to true.
Upvotes: 1
Reputation: 2520
Usually this happens as the browser you test your page with caches the web page.
It happened to me too a few times and I fixed it with restarting the web browser, please try it and tell me if it did the trick.
Upvotes: 0