• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

package javax.servlet.jsp.* missing

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic