I have set "development" to true and "modificationTestInterval" to 0 but I can 
not get the file
$CATALINA_HOME/webapps/mywebapp/test.jsp updated automatically by Tomcat.

I change it in my install_home (outside Tomcat) from wich the webapp is 
deployed but Tomcat does not seem to 
realize that it has changed and do not update it inside his directory structure.

I do not know if is right that Tomcat copy my whole webapp in 
CATALINA_HOME/webapps/ when I am not using a .war file to deploy but a
directory structure outside Tomcat.

Thanks for your answers.

                   Guillermo



> -----Mensaje original-----
> De: Subir Sengupta [mailto:[EMAIL PROTECTED]
> Enviado el: lunes, 12 de diciembre de 2005 20:27
> Para: Tomcat Users List
> CC: [EMAIL PROTECTED]
> Asunto: RE: How to reload jsp using ant in Tomcat 5.5
> 
> 
> Look in your web.xml, and tweak the JspServlet parameters.
> These 3 params control jsp reloading - 
> modificationTestInterval, checkInterval and development.
> 
> Hth,
> Subir
> 
> 
> -----Original Message-----
> From: Guillermo Sobrino [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 12, 2005 9:09 AM
> To: 'Tomcat Users List'
> Subject: RE: How to reload jsp using ant in Tomcat 5.5
> 
> 
> Hello again,
> 
> trying to find a solution to my problem I have discovered
> that in past Tomcat versions I had just to copy my new jsp 
> pages in the installation directory to get them updated in 
> Tomcat. There was no need to use target reload.
> 
> So maybe I am forgetting any configuration parameter in
> Tomcat 5.5 wich set that "automatic" jsp-reloading.
> 
> Anyone could help, please?
> 
> 
>                    Guillermo
> 
> 
> 
> > -----Mensaje original-----
> > De: Guillermo Sobrino [mailto:[EMAIL PROTECTED]
> > Enviado el: jueves, 01 de diciembre de 2005 17:11
> > Para: users@tomcat.apache.org
> > Asunto: How to reload jsp using ant in Tomcat 5.5
> >  
> > 
> >  
> > Hello,
> > 
> > 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.name}-${component
> > .version}"/>
> > 
> > </target>
> > 
> >  
> > 
> > where install.home/component.name-component.version 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/component.name-component.version 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}"/>
> > 
> > </target>
> > 
> >  
> > 
> > but it doesn't work for jsp pages.
> > 
> > Anyone could help me, please?
> > 
> > Thanks in advantage.
> > 
> >  
> > 
> >                    Guillermo
> > 
> >  
> > 
> >  
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to