Which jar file should be mandatory be there in the CLASSPATH for working with Servlet.

Skill/Topic: Servlets
A) javax.servlet.*
B) java.servlet.*;
C) javax.servlet.HttpRequest
D) javax.servlet.HttpResponse

Showing Answers 1 - 12 of 12 Answers

RAVINDRA paidiparthi

  • Feb 19th, 2006
 

the jar file that is mandatory in the classpath for working with servlets is SERVLET-api.jar file .

  Was this answer useful?  Yes

If You are using the Tomcat Server the servlet-api.jar file is mandatory

where as if you are using the Weblogic the weblogic.jar file is mandatory

for to the web applications.

Sridhar Shetty Gorenty

MphasiS BFL Limited,Bangalore

  Was this answer useful?  Yes

Suresh Reddy

  • Apr 27th, 2006
 

servlet-api.jar is mandatory in CLASSPATH for working with servlets.

  Was this answer useful?  Yes

Vikas Singh

  • Jan 10th, 2007
 

Every web container vender provides a jar file that contains javax.servlet, javax.servlet.http packege.

In case of weblogic--> we must provides "weblogic.jar" as part of weblogic.

In case of Tomcate4.1-->we must provides servlets.jar as part of Tomcate4.1

In case of Tomcate5.0-->we must prpvides servlet-api.jar as part of part of Tomcate5.0 

  Was this answer useful?  Yes

rajat

  • Jul 9th, 2013
 

A

  Was this answer useful?  Yes

sonal

  • Oct 12th, 2015
 

B) java.servlet.*;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions