File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Web Component Certification (SCWCD/OCPJWCD)
servlet in both WEB-INF/lib and WEB-INF/classes
Joined: Jun 05, 2006
Apr 02, 2008 23:07:00
exist in both WEB-INF/classes and WEB-INF/lib/servlets.jar,which one is given preference i.e which servlet will handle the request
[ April 02, 2008: Message edited by: Joshua Antony ]
SCJP,SCWCD, Into ATG now!
Joined: Sep 08, 2006
Apr 02, 2008 23:15:00
The servlet from WEB-INF/classes.
Thanks & Regards<br />Karthik
Joined: Mar 22, 2005
Apr 02, 2008 23:36:00
Needless to say, it is not a good idea to keep multiple versions of a class in your classpath.
I agree. Here's the link:
subject: servlet in both WEB-INF/lib and WEB-INF/classes
JSP as webservice client
What are required in a WAR file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015