• Post Reply Bookmark Topic Watch Topic
  • New Topic

web.xml & lib folder of my application?  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!