| Author |
Class Loading error
|
Ritu Kama
Ranch Hand
Joined: Sep 10, 2001
Posts: 72
|
|
Hi, I have a program that works just fine if I run it standalone. However, If I try to invoke it using JSP with jsp:useBean tag, I get 500 error on method invocation. Any ideas?? To add to complexity this class uses some third party jars. The class load works fine but as soon as I try to instantiate an object of third party class, I get this 500 error. Implementation is on Websphere. Thanks Ritu
|
 |
Simon Brown
sharp shooter, and author
Ranch Hand
Joined: May 10, 2000
Posts: 1860
|
|
Have you put the 3rd party JAR files in the WEB-INF/lib directory of your web application? Also, have you used the fully qualified classname (e.g. com.mycompany.MyClass) in the <jsp:useBean> tag? Simon
|
 |
Ritu Kama
Ranch Hand
Joined: Sep 10, 2001
Posts: 72
|
|
Hi, Not done both. I have the libs in a separate lib directory but not under WEB_INF/lib. I will try both solutions and come back with my response. Thanks a lot. Ritu
|
 |
Ritu Kama
Ranch Hand
Joined: Sep 10, 2001
Posts: 72
|
|
Thanks Simon, Your solution worked Ritu
|
 |
 |
|
|
subject: Class Loading error
|
|
|