Hello Everyone,
I'm using weblogic 5.1. I have a user-defined class named ToFile.class
which is instantiated by my JSP. Also My JSP needs to look up & invoke
a Session Bean. I assumed that as long as the ToFile class was put in the
weblogic classpath, the server should be able to find the ToFile class. I
put it in the myserver/serverclasses folder & it gave the error message
"could not find class jsp_servlet.ToFile." when the jsp was requested. The
same error occurred when I put the file in classes folder. It worked only
when I put it the folder jsp_servlet(the place where weblogic by default
stores generated servlet classes) & I had to change the code to include the
statement 'package jsp_servlet'.
It works perfectly fine when I use the ToFile class with a servlet, as long
as it is somewhere in the weblogic server classpath or the servletclasses
folder.
Unfortunately the project I'm working needs this done thru JSP.
Could someone please help me out & tell me if I need to change any
configuration paramters & if so which ones. I urgently need the solution.
I'm using Windows 98.
Thanks in advance.
Michael.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to