tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Muneton <>
Subject RE: Why "tomcat" didn't compile my jsp's
Date Sat, 19 Sep 2009 19:53:31 GMT

Hi Chuck.

Maybe I wasn't very clear.

What I did was the following:

  I placed all my directories structure, within the src dir I placed the HelloRafael.jsp,inside
a HelloRafael.war file and that's what I deployed into Tomcat using the Manager.


I copied a build.xml file and adapted it to my web appl, and this too goes inside my HelloRafael.war


So I am quite sure that I'm doing something wrong, the question is What exactly I'm doing



> From:
> To:
> Date: Fri, 18 Sep 2009 20:24:11 -0500
> Subject: RE: Why "tomcat" didn't compile my jsp's
> > From: Rafael Muneton []
> > 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
> > 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 and the
> > second one converts the 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?
> - Chuck
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:
> For additional commands, e-mail:

Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message