File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes web-inf/lib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "web-inf/lib" Watch "web-inf/lib" New topic
Author

web-inf/lib

Vinod Kumar
Ranch Hand

Joined: Jan 18, 2002
Posts: 75
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

Joined: Oct 18, 2000
Posts: 14
Did you put the jar file containing your classes, into the classpath for your web module..?
Venu
Vinod Kumar
Ranch Hand

Joined: Jan 18, 2002
Posts: 75
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

Joined: Oct 18, 2000
Posts: 14
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web-inf/lib
 
Similar Threads
cannot allocate servlet instance
applet codebase problem
What are required in a WAR file
Which path is required to be present in a war file???
which path is required in WAR file