Hi,

I am new to servlet development and I am having a few
problems. I am using Sun's JSDK 2.1 to create a few
servelts. My first program is an Applet which I have
placed in the root directory of the JSDK (WebPages).
The applet then calls a servlet. The servlet is in the
package called WorkRequest. In the servlets directory
I have a WorkRequest folder and in that folder is the
servlet called dbAccess.

The applet uses the following call to indicated where
the servlet is:

URL url=new URL(getCodeBase ()),
"/servlet/WorkRequest.dbAccess");

When I run the applet I get the following error

FileNotFoundException
"Can't find '\servlet\WorkRequest.dbAccess'"

I have tried numerous paths but I have not been
successful. Can anyone help me out.

Alex

Oh, I am using JBuilder 3 to create and test the applets.
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.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