struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Allen <...@mojavelinux.com>
Subject file path
Date Wed, 19 Mar 2003 18:11:01 GMT
Assuming I am storing a public file in my web directory who's real
path is

/var/tomcat/webapps/program/file.dat

How would I reference that file in my Action class in order to read
in the data?  My concern of course is how to get the path info
preceding my application, namely /var/tomcat/webapps/program/ 

Thanks!

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"The Linux philosophy is to laugh in face of danger.  Oops. 
Wrong one. 'Do it yourself' That's it" 
 -- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message