This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet package not found

 
Sophia Choi
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • 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.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic