File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes package javax.servlet.jsp.* missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "package javax.servlet.jsp.* missing" Watch "package javax.servlet.jsp.* missing" New topic
Author

package javax.servlet.jsp.* missing

sabin frank
Greenhorn

Joined: Mar 29, 2002
Posts: 5
hi all!
i have a basic question...do my first steps with servlets and can't compile now the class. the problem: der is no package for javax on my personal computer. so what to do now? can anybody mail me the missing classes? they must be javax.servlet.*
javax.servlet.jsp.*
javax.servlet.tagext.*
and so on...
a lot of thanks and
kindly regards
sabin
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
To run your servlet you must have a servlet container which will have a servlet.jar file. Just add it to the classpath of your IDE/editor.
For more resources on servlets, try this.
-anthony
sabin frank
Greenhorn

Joined: Mar 29, 2002
Posts: 5
thank you anthony!
i'm absolut new in this capture...so what does it mean a "container".
i have a file architecture like
orion
applications
taglib-tutorial
meta-inf
taglib-tutorial-web
web-inf
classes
and so on...
if i download the sdk enterprise edition, it is enough or there is anything else to do?
thank you very much!
:roll:
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
If you're new at this I would suggest you use Tomcat instead. I use 3.2 myself when I'm just fooling around but of course it's out of date and I'm just too lazy to install 4.0. There are no fancy GUIs and you have to manually edit everything which is good if you're starting out.
Add TOMCAT_HOME\lib\servlet.jar to your classpath. Please check your editor's docs for this.
You also might want to try out the official Sun tutorial.
-anthony
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: package javax.servlet.jsp.* missing
 
Similar Threads
custom tag
JSPException
Impossible to use JSF 1.2 RI in OSGI container?
How do I compile mt Tag Handler...?
where to download servlet-api-2.5.jar