Hi,
I need some input on the following problem.
I am trying to access a file through a servlet.
Below is the diretory structure. A servlet from
server_root/servlets/<myservletsdir>
creates an instance of an utility (simple java class) under
server_root/mydir/classes/util
and this utility needs to read a file under server_root/mydir/myfiles
I created a file alias : mydir -> server_root/mydir
and tried accessing the file as "mydir/myfiles/file"
It does not recognize the file. The CLASSPATH also includes
server_root/mydir/classes.
I am running the jserv using java1.2.
Am I doing it right or is there some issue with this.
JWS2.0 (server_root)
|
---------------------------------
| | |
mydir public_html servlets
| |
------------- myservletsdir
| |
myfiles classes
|
util
Thanks,
Nalini
___________________________________________________________________________
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