tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jann VanOver <>
Subject RE: jsp and tomcat 4
Date Wed, 18 Jul 2001 20:55:03 GMT
Move to b6.  b5 has a problem recompiling JSPs <surprise!>

-----Original Message-----
From: David White []
Sent: Tuesday, July 17, 2001 11:23 AM
Subject: RE: jsp and tomcat 4

I've been having the same problem.  When I modify a JSP, it isn't recompiled
automatically.  However, if I delete the .class file associated with the
JSP, both the .java and the .class files associated with the JSP are
rebuilt.  So I've been deleting the .class files whenever I make JSP

I recall someone on this list mentioning that Tomcat 4b5 had a known bug
regarding detection of changes in source files, so I've assumed that was the
problem I've been seeing.

I'm using standalone Tomcat 4b5 in a Win2000 environment.

If anyone knows of a configuration change or a work-around that could get my
JSPs to compile properly when changed, please let me know!


> -----Original Message-----
> From: Oskar Zinger []
> Sent: Tuesday, July 17, 2001 10:41 AM
> To:
> Subject: Re: jsp and tomcat 4
> You need to make changes to a jsp file, not java file.  Tomcat will detect
> changes automatically and will translate jsps into java files and
> then compile
> them.
> ---
> Oskar
> Marco Magistrali wrote:
> > Hi,
> >
> > I have a question:
> >     if I modify a JSP under tomcat4 i don't see any change in
> browser because
> > tomcat4 get the .class of JSP in cache (directory work)
> >
> > How can I say to recompile the jsp if there are changes in java??
> >
> > tanks
> > Marco

View raw message