File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How did I not get javax.servlet.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How did I not get javax.servlet.jar" Watch "How did I not get javax.servlet.jar" New topic
Author

How did I not get javax.servlet.jar

Hatspa Tutsutini
Greenhorn

Joined: Oct 29, 2004
Posts: 1
Hi I recently downloaded and installed JBOSS. When trying to build the Dukes Bank example I get javac errors telling me that javax.servlet.jar cannot be found. I looked on my entire disk at every jar file on it and no javax.servlet.jar. How did Bill Gates manage this? Seriously though folks how could this possibly happen. Where did I go wrong.
DVVN Sudhakara Rao
Greenhorn

Joined: Oct 04, 2004
Posts: 17
Hi
For compiling servlets you need servlet class files. In JBOSS you will find that jar file at C:\jboss-3.2.5\server\default\lib\jboss-j2ee.jar. Put that jar file in your class path. I think that will work for you. Any problems come back.
 
Consider Paul's rocket mass heater.
 
subject: How did I not get javax.servlet.jar
 
Similar Threads
null pointer in _jspInit
how to install a standalone axis on jboss 4.0 (failed to compile .jws)
Jboss 4.2.1.GA with eclipse 3.2
Issue with JavaDoc, Code Assist and Eclipse
import javax.servlet.*;