carlos beltran wrote:
> 
> Hi,
> 
> Some testing...
> If one leaves a jar with the classes ( lets say
> sample.HelloWorldPortlet.class ) inside /WEB-INF/lib  then IT WORKS.
> If one leaves the same jar inside a hand_made WEB-INF/classes directory
> IT DOESN't WORK.
> 
> If one leaves the class in a directory inside /WEB-INF/lib , that is
> WEB-INF/lib/sample/HelloWorldPortlet.class, IT DOESN't WORK.
> If one leaves the class with the same directory structure inside
> /WEB-LIB/classes, that is
> /WEB-LIB/classes/sample/HelloWorldPortlet.class then IT WORKS.
> 
> Should it be possible to leave JARS inside /WEB-INF/classes?
> 

No. Check the servlet 2.2 spec.
the webapp classloader automatically search all /WEB-INF/lib jars 
and /WEB-INF/classes for servlet java classes.

Jars in /WEB-INF/classes are not searched.


--
Raphaël Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to