javax.servlet.http.HttpServlet not found in class

When I am trying to compile a Java file which imports many files, i am using following syntax

javac -d /abc -classpath /a/c/v/v/v/d/:/a/jdk/lib/ , but i am continously getting this error,

Please help me out wid dis,

Well I think the class where javax...... is nt found is nt able to find this javax....servlet class.

Kindly help me out wid dis ASAP, will be highly thankful to u.

[412 byte] By [MrDutta] at [2007-10-3 3:46:30]
# 1

You need to include javaee.jar - it should be included with whichever application server you're developing with. E.g. if you had Glassfish installed in /opt/glassfish, use:

javac foo.java -cp /opt/glassfish/lib/javaee.jar

Hopefully everything should work after that. Good luck!

- Chris

fuzelogika at 2007-7-14 21:43:14 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks for your response Chris, But Still i am nt able to see how to proceed ,,,, m using weblogic server, so pls lemme knw how 2 proceed further
MrDutta at 2007-7-14 21:43:14 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...