This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes servlet in both WEB-INF/lib and WEB-INF/classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "servlet in both WEB-INF/lib and WEB-INF/classes" Watch "servlet in both WEB-INF/lib and WEB-INF/classes" New topic
Author

servlet in both WEB-INF/lib and WEB-INF/classes

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
if a servlet 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!
Karthigeyan Kannabiran
Greenhorn

Joined: Sep 08, 2006
Posts: 5
The servlet from WEB-INF/classes.


Thanks & Regards<br />Karthik
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
Needless to say, it is not a good idea to keep multiple versions of a class in your classpath.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet in both WEB-INF/lib and WEB-INF/classes