Newsletter |
How to Set Classpath For Servlet,setting Classpath For servlet-api.jar
Servlets » on Jan 5, 2013 { 7 Comments } By Sivateja
As i told you in the previous article, we should set servlet-api.jar in our class path, in order to work with servlet applications. We cannot run servlet applications if you didn’t set servlet-api.jar.
Where Can You Download servlet-api.jar
- You can download servlet-api.jar by searching in Google
- Or just open your Tomcat installation directory and search for lib folder –> there you can find servlet-api.jar 🙂
Setting Classpath
- Open command prompt
- Type this command, set classpath=”C:\Program Files (x86)\apache-tomcat-7.0.33\lib”;
- Thats it
But friends, don’t worry 🙂 we are going to run the servlet application in Eclipse so things are very very easy, i will show you in the first program.
You Might Also Like
::. About the Author .:: | ||
Comments
7 Responses to “How to Set Classpath For Servlet,setting Classpath For servlet-api.jar”
what is oops concept?explain each one?
how can i set classpath servlet_api.jar and struts_core_1.3.10.jar
hello sir i am learning java which basic i am follow.
How we run jdbc application with servlet in ubuntu when i run we require to set two class path one is mysql connector.jar and another is servlet-api.jar file how i can set
plzzz suggest me reference book for advance java…..i m studin in BCA
I set java paths and lib servlet and jsp class path also but still its show error
How to set path of jdk 1.6 and classpath of weblogic for run the servlet??? There is some issue that "it is not recognized an internal and external command."