Hello Khadeeja,
You need to put the servlet.jar in your system classpath or add the
following to the build file...
<path id="blah">
<pathelement location="[location of servlet.jar]"/>
</path>
<javac ....>
<classpath refid="blah"/>
</javac>
Jake
Monday, December 02, 2002, 10:12:25 AM, you wrote:
KI> I have been following a tutorial to make Apache communicate with Tomcat and
KI> got to the point of installing Ant and and setting the environment
KI> variables. When I type the "%ANT_HOME%"/bin/ant I got the message of buiid
KI> failed, with 3 errors saying that the Java Servlet Package and its classes
KI> don't exist. When I checked the packages in SDK it was true that
KI> Javax/Servlet wasn't there. I have downloaded the class files (not the .java
KI> files)for Servlet package. I'm stuck here. Can somebody please give me some
KI> tips on how to get on from here.
KI> Desperate,
KI> Hajja
KI> _________________________________________________________________
KI> Tired of spam? Get advanced junk mail protection with MSN 8.
KI> http://join.msn.com/?page=features/junkmail
KI> --
KI> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
KI> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
Best regards,
Jacob mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>