on 03-18-2006 10:00 AM
Hi,
I have a servlet which i put in a jar file and placed in WEB-INF/lib directory of my war. After deploying the ear file when i call the servlet, it says class not found. The same servlet is working fine when i keep the class file in web-inf/classes or web-inf/bin directory. Do WAS not support servlet loading from jar file in lib directory? is it mandatory that the class file needs be placed??
regards,
Sujesh
Sujesh,
Your deployment descriptor i.e. web.xml has a tag <servlet-class> which contains the fully qualified class name of your servlet.
This class needs to be located in the WEB-INF/classes directory.
Any auxiliary library JAR files must be stored in the WEB-INF/lib directory.
Regards,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using NWDS for deployment ?
regards
rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.