Don Hill
Posts: 70
Nickname: ssswdon
Registered: Jul, 2002
|
|
Re: JSP call EJB Compoment!
|
Posted: Jul 25, 2002 7:11 AM
|
|
> I developed a EJB compoment and deploied it to J2EE > Server(Sun J2SDKEE1.2.1). Now I want call it in a JSP > program. But JSP reports an error that could not find > stub class of this compoment. > > How can I let JSP find this compoment? Where will i > take place the classes file? > > I have successfully run the same code in an > application!
The container needs to have acces to the client jars for the EJB, I would suggest placing them in the WEB-INF/lib folder as this is where the classloader will look to resolve, you also need to some imports in the jsp unless you are doing is from a bean.
HTH
|
|