tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charl Gerber <>
Subject Re: Use JSPC
Date Thu, 16 Jun 2005 09:24:22 GMT
If you have the generated java files, you can compile
them like any other java class (remember to setup your
classpath correctly, including some jars in the Tomcat

Trickier to figure out first time round is to
dynamically create the web.xml settings. Every .jsp
now effectively becomes a servlet which needs to be
added to your web.xml. Using ant its all done
automatically, but getting it set up first time round
can be tricky.


--- Giacomino Raccuia <>

> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message