tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charl Gerber <charlger...@yahoo.com>
Subject RE: Use JSPC
Date Mon, 20 Jun 2005 07:05:47 GMT
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]"
<alexandre.akoulov@citigroup.com> 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:giacomino.raccuia@icteam.it]
> 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:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message