Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

package javax.servlet.jsp.* missing  RSS feed

 
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
 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!