Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes Reloading of a JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Reloading of a JSP" Watch "Reloading of a JSP" New topic
Author

Reloading of a JSP

Deepika Pereira
Greenhorn

Joined: Mar 20, 2006
Posts: 25
I am making a request for dips.jsp
This file contains

<html>

<% out.print("Dips u made it. good"); %>
<br>
<strong> In JSP </strong>

</html>

Now when I change the code in out.print to something else
then unless i restart tomcat the changes are not reflected.
Is there a way to see the new output wihtout restarting tomcat.
i.e.
Is there an option for autoreload of a jsp?

Thanks
Prasad Darsi
Greenhorn

Joined: Sep 26, 2004
Posts: 16
Which version of tomact you are using ?

If you are using Tomcat verison 5.5 it will display the changed content automatically without restarting.
Kalpesh Patel
Greenhorn

Joined: Apr 10, 2006
Posts: 4
Try this

<Context path="/test" docBase="<<APP_DIR>>/test" debug="0" reloadable="true" crossContext="true" />

Thanks,
Kalpesh
Kalpesh Patel
Greenhorn

Joined: Apr 10, 2006
Posts: 4
Sorry, I forgot to mention that this is in $TOMCAT_HOME/conf/server.xml file.

Thanks,
Kalpesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reloading of a JSP
 
Similar Threads
jsp:forward and jsp:include
Please check my jsp function code
jsp and beans
Disabling a href=...
problem in creating tag library