The moose likes Servlets and the fly likes Problem in my life's first Servlet.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem in my life Watch "Problem in my life New topic

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


Joined: Jul 28, 2003
Posts: 4
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

Joined: May 06, 2003
Posts: 35
add servlet.jar to your class path should solve your problem

Joined: Jul 28, 2003
Posts: 4
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....
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
cause Servlet can be found under javax.servlet.Servlet.
check this
[ August 01, 2003: Message edited by: Oliver Refle ]
jQuery in Action, 2nd edition
subject: Problem in my life's first Servlet....
Similar Threads
Panel vs Frame
Problem in my life's first Servlet....
SqueLink Server 5.2, SequeLink Socket Server and SequeLinl Legacy Server
Using Eclipse with Tomcat
html:base and named anchors