Hi all, thank you for visiting my SOS. I am absolute a javaservlet beginner and just start learn via using JBuilder 8 Ent with Tomcat 5.0.28. I look for some helps from java servlet experienced. While i'm coding for the very first of my java servlet programe, "HelloServlet3.java" on JBuilder i got this error. Which i also no idea since i'm follow exactly the same from a tutorial instruction.
"HelloServlet3.java": Error #: 704 : cannot access directory javax\servlet at line 4, column 1 "HelloServlet3.java": Error #: 300 : class HttpServlet not found in class hello.HelloServlet3 at line 16, column 36
My Question is, is it JBuilder don have the build-in Servlet? Am i need to install the so-call directory Javax/servlet by myself? If thats the way, can somebody help me to give me the instructions for it.
Thank you in advance.
The moon light is pouring down on my bedside<br />Like white frost spreading on the ground<br />I look up the bright round moon in the sky<br />And lower my head thinking of my dear hometown
which feature you'll likely find under "tools->configure->libraries" (at least that's where it is in JB2005). But the servlet library should already be available as you have the enterprise version so all you need to do is add it to the required libraries for your project from the project properties dialog. In JB2005 you can do so from the "paths" tab, "required libraries" subtab.
It's as Ben pointed out explained quite well in the documentation too.
Joined: Jun 27, 2005
Thanks to you Ben and Jeroen, ok I'll read the documentation first.