Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web-inf/lib

 
Vinod Kumar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I am using WAS 4.0 AE Server.
I have deployed an ear file having JSPs Servlets and other classes.The problem is my jsp is not identifying the required classes present in a jar inside the web-inf/lib.I have give the import tag in my jsp.It is expecting my classes to be present in /classes folder.
Could any one throw some light on this issue.
Thanx in advance,
vinod
 
vb reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put the jar file containing your classes, into the classpath for your web module..?
Venu
 
Vinod Kumar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi venu,
No I haven't!.Is it a must?
Could you give a sample path to set!!
I am familier with the administrator console and seen JVM settings tab to set.But what to specify??
thanx in advance,
vinod
 
vb reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if it is a must,just try it out putting your jar file name in the classpath for web module.You need to specify this while packaging your components in to an EAR using AAT.
See it is like this, if the jar file is an EJB jar and if you specify EJB references in your web module then AAT automatically adds the EJB jar file to the classpath of web module.. And if it not an EJB jar and if it contains utility/helper classes , then I think you need to add that explicitly to the claspath of the web module..
Venu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic