Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

web.xml & lib folder of my application?

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

if i am putting a jar file of all the classes in the lib directory instead of putting class files in the classes directory do i have write something into web.xml or the container will automatically use the class files in the jar file if it doesn't find the classes in the classes directory??

Jignesh
[ April 10, 2006: Message edited by: Bear Bibeault ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to do anything special, as long as the class is in a JAR in the lib directory, the server will find it.
 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

does it work ( ie putting class files in jar form in a lib folder) with all servers ie with websphere , weblogic and tomcat.

when we will do this instead of class files in classes folder, does it increase performance of application?


Thanks,
Prakash
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works for all servers, because it is defined to work that way in the Servlet specification.

Runtime performance benefits are most likely to be negligible.
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!