• 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

servlet package not found

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have tried to run a simple HelloWorld servlet in my PC. But it says package javax.servlet not found. So, I have installed Resin, the problem is still here. Beans and JSP are running well.
Anyone knows what is the problem?
My PC has java 1.4.0_01 and JSWDK-1.0.1
and Resin 1.3.0.
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have the RESIN_HOME and JAVA_HOME environment variables set properly? Does this occur when you run the example or when you compile it? Are you sure your using Resin 1.3? That is a very old version. You may want to consider an upgrade.
 
Sophia Choi
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Matthew,
Thanks for your reply. I have found out what my problem is. I omit the servlet classpath c:\jswdk-1.0.1\lib\servlet.jar
Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic