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
What's the use of servletcontext?
What is Servlet API used for connecting database?
What’s the difference between forward() and sendredirect() methods?
What are different methods of session management in servlets?
Write a program to show the functionality of servlets.
Write a command to get actual path of a servlet to the server?
What is meant by Servlet? What are the parameters of service method?
What is servlet name in web xml?
What is the functionality of actionservlet and requestprocessor?
What are all the ways for session tracking?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What is Servlets and explain the advantages of Servlet life cycle?
What exactly is a servlet?
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 >>
Why are http servlets used in programming?