Hi............
When i am started the tomcat server it started.
but it not load the jar files wht we deploving
file.suppose we load the wapp folder in webapps.
At running time it show the below error in tomcat server
INFO: validateJarFile(C:\Program Files\Apache Software
Foundation\Tomcat 5.0\web
apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See
Servlet Spec 2.3, s
ection 9.7.2. Offending class: javax/servlet/Servlet.class

How to slove this problem in my system.
plz give answer for this problem.

Answer Posted / harikumar

hey do one thing , u can create a war(consists of
all .class files and web.xml ie., create a war file to ur
web root directory) and deploy it in the webapps and then
run it.
If then also u can get the same error do this
1.check ur web.xml or
2.delete jar files and again add or
3.set class the classpath before compiling.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the use of servletcontext?

774


What is Servlet API used for connecting database?

694


What’s the difference between forward() and sendredirect() methods?

664


What are different methods of session management in servlets?

868


Write a program to show the functionality of servlets.

648






Write a command to get actual path of a servlet to the server?

633


What is meant by Servlet? What are the parameters of service method?

691


What is servlet name in web xml?

646


What is the functionality of actionservlet and requestprocessor?

687


What are all the ways for session tracking?

681


Which event is fired at the time of setting, getting or removing attribute from application scope?

724


What is Servlets and explain the advantages of Servlet life cycle?

687


What exactly is a servlet?

619


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

2622


Why are http servlets used in programming?

637