Dear All,

I get the following error when running my servlet.


Servlet has thrown exception:java.io.FileNotFoundException:
../../stocks/Prices/7699.txt (The system cannot find the path specified)


I've been running the same process as an application without problems.
Finds the relative path okay.  I then changed the files involved to become a
package so that the servlet could see them okay.  Now I get the file not
found message as above.

The relative directories are the same, and everything is case correct.  I
did the "cd.." thing up and down to make sure of the relative path, and
triple checked the case of everything.

I wondered whether the relative path had to be from the servlet directory so
made that change.  Same result as above.

Also wondered whether it had to be from the web server root so made that
change.  Same result as above.

Any ideas????


Many thanks,


Mike

___________________________________________________________________________
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