• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in my life's first Servlet....

 
Anthony
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends i have installed the Tomcate Server using one of the binaries, i am reading the book from WROX press, Professional SCWCD Certficaion by SAM and DAN.
Friends i am using the JCreator Pro editor for Java file, but the problem is that while using this app, when i trying totype this code
"import javax.servlet."
i am not able to see the "servlet" class after typing "import javax." the same thing i am facing in the JBuilder 9.0 Trial edition, but when i use the Trial Editon and use the project, then i am able to see the complete path, like "import javax.servlet.servletException".
I dont know why it is happening, if any of my friend can help me out, tell me do i need to add any path some where ...blah blah........
coz this sucks....
really appriciate
 
damien malone
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
add servlet.jar to your class path should solve your problem
 
Anthony
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks damienp malone, really appriciate your help, dear using your suggestion, now atleast i am able to compile my Servlet, but dear i am still not able to see the interface "Servlet" after typing "import javax."
can anyone else know that... why is that, or it will remain like this....
Thanks
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cause Servlet can be found under javax.servlet.Servlet.
check this
[ August 01, 2003: Message edited by: Oliver Refle ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic