Hi all,
I've created a
jsp page that takes a parameter (url) which is the
string representation of a file location so I can manipulate the file in a custom tag.
I'm finding it impossible to access files stored on the server becuase the default directory seems to be
<tomcat install dir>/bin.
So if my GET request looks like this:
.../jsp/phone.jsp?url=index.wml
I am catching a FileNotFoundException which thinks the file is in
c:/java/jakarta-tomcat-3.2.3/bin/index.wml
when the file is actually in the same directory as phone.jsp
Is there something I can do to change the default directory, perhaps within server.xml? I'm running tomcat 3.2.3 on Windows 2000.
Thanks,
Richard