tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David White <cavef...@pacbell.net>
Subject RE: jsp and tomcat 4
Date Tue, 17 Jul 2001 18:22:42 GMT
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
changes.

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!

Thanks
David

> -----Original Message-----
> From: Oskar Zinger [mailto:oskar.zinger@micromuse.com]
> Sent: Tuesday, July 17, 2001 10:41 AM
> To: tomcat-user@jakarta.apache.org
> 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
>


Mime
View raw message