Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reloading of a JSP

 
Deepika Pereira
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this

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

Thanks,
Kalpesh
 
Kalpesh Patel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I forgot to mention that this is in $TOMCAT_HOME/conf/server.xml file.

Thanks,
Kalpesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic