> From: Rafael Muneton [mailto:rafael_mune...@hotmail.com]
> Subject: Why "tomcat" didn't compile my jsp's
> 
> In my first steps I deployed my Hello.jsp into Tomcat using 
> the Tomcat Manager

??? The manager deploys webapps, not individual JSPs.  What exactly did you do?

> So I googled my problem and someone told  me that this job
> could be done by "ANT" not by "TOMCAT".

Incorrect information.  Ant is not required to be present nor is it sufficient 
to compile JSPs; JSPs can be pre-compiled with ant in conjunction with other 
packages, but it is not necessary.

> Using the command options   "ant compile" or "ant all" created the
> hierarchy directories to be deployed into Tomcat, but again, my
> Hello.jsp  didn't compile.

Ant by itself won't do that; you must have had a build.xml script for ant to 
work with.

> So one question is: Is this a job for ANT or for TOMCAT?

Tomcat.

> The first one translates the Hello.jsp into a Hello.java and the
> second one converts the Hello.java into a Hello.class.

The names aren't quite right, but that's the general idea.

> How can I achieve this using ANT or TOMCAT?

http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to