hi, Anja, i don't think tomcat will recompile automatically.
you can compile changed java file by yourself and put the class file under WEB-INF/classes. it should work. one more thing, if you set ReloadInterceptor fullReload="true", you don't need to restart tomcat. it will reload both context and servlets automatically. hope it helps, Shannon --- "YI,LI (HP-USA,ex1)" <[EMAIL PROTECTED]> wrote: > Hi Anja, > > I had the same problem when I first start working > with JSP. > > The only working way I know is restart tomcat, I > normally already have all > .java (my beans) copiled with javac first. > > Li > > -----Original Message----- > From: Anja Falkner [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 05, 2002 14:50 > To: Tomcat Users List > Subject: Re: How to force Tomcat to compile? > > > Hello Reynir, > > my JSPs use some Java-Classes. This Java-Classes are > positioned in > WEB-INF/classes. > Normally Tomcat compiles this classes by his own. > But if I do some changes in *.java, Tomcat doesn't > check, that *.java has > changed and doesn't recompile. > That's the problem. > > To found a solution, I have compiled the changed > *.java with javac. The > compilation runs without problems. > > Then, when I run my application I get a > ClassDefNotFoundError. Tomcat don't > want my self-compiled *.class > > Anja > > > -- > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > For additional commands: > <mailto:[EMAIL PROTECTED]> > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > For additional commands: > <mailto:[EMAIL PROTECTED]> > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>