And remember to update your web.xml with the servlet and servlet mapping elements for the generated classes. It looks a bit daunting at first, but the examples on the Tomcat site will be a good help and once done, it it actually quite straigtforward. Its done automatically by an ant script, in case you thought you had to do it manually (well, you could.... I guess) .
Charl --- "Akoulov, Alexandre [IT]" <[EMAIL PROTECTED]> wrote: > Hi Mino, > > that is what we do: > a) generate java files with JspC compiler > b) compile java files with javac compiler > c) copy class files to the required location (ie > class directory under WEB-INF ) > > > Hope it helps, > > Sasha. > > -----Original Message----- > From: Giacomino Raccuia > [mailto:[EMAIL PROTECTED] > Sent: Thursday, 16 June 2005 7:13 PM > To: tomcat-user@jakarta.apache.org > Subject: Use JSPC > > > Hi, > I'd like to compile the JSP pages when I upload some > new files on server > (tomcat 4.0.3) . I use the utility JSPC, but this > generate only java > file but not the class file. I read that JRun has > JSPC with -compile > argument while my JSPC utilty doesn't have thi > argument. > Is possible to generate class file with tomcat and > JSPC? Or there is > another utility to use? > > Thanks in advance. > Bye > Mino > > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]