Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compiling bookstore from tutorial

 
Tracey Currier
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello out there, anyone familiar with the bookstore example from the Sun servlet tutorial example? When I extract the zip file the class files are not there as expected as per the instructions. So, I am trying to compile them myself, but the import statements are not finding javax. Other .java code compiles fine from this directory. Any suggestions? Thank you.
 
Tracey Currier
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried another example from another tutorial and get the same compile error: Package javax.servlet not found in import
So...I am using jdk1.1.7, maybe it is time to upgrade, but I am confused as the tutorial with this example came with this version of jdk. (I tried routing the path to javax, but I'm not sure it is correct site for package, I'm not sure exactly where the compiler gets the package infor - anyway, hasn't worked yet) I am able to run the other examples, I can't write any myself, though until I figure out this compiler problem.
 
Tracey Currier
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moving to Tomcat
 
Tracey Currier
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works on Tomcat! I got by using previous posts via search of this forum. Thanks everybody.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic