• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package javax.servlet.jsp.* missing

 
sabin frank
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic