tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillermo Sobrino" <>
Subject How to reload jsp using ant in Tomcat 5.5
Date Thu, 01 Dec 2005 16:11:29 GMT


I'm using Tomcat 5.5 on wich I deploy a web application with ant using:


<target name="install" depends="compile" description="Install web application">

<deploy url="${manager.url}" username="${manager.username}" password="${manager.password}"

path="${app.path}" localwar="file://${install.home}/${}-${component.version}"/>



where install.home/ is a local directory wich 

contains a typical structure with JSP's and a WEB-INF

directory wich includes lib and classes directories.

I get to deploy the application right, but when I update any jsp in 

my install.home/ local directory 

I can not get Tomcat to update that file. 

I've tried to use the ant reload target as follows:


<target name="reload" depends="compile" description="Reload web application" >

<reload path="${app.path}" url="${manager.url}" username="${manager.username}" password="${manager.password}"/>



but it doesn't work for jsp pages.

Anyone could help me, please?

Thanks in advantage.





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message