You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Konstantina Stamopoulou <st...@intracom.gr> on 2002/03/14 09:50:47 UTC

File location on the server

Hello,
Can someone tell me how I can specify the path from where the files can be downloaded form the server? What I'm using now is :
 response.setHeader("Content-disposition", "inline; filename="+myfile)
which means that all my files should be in TOMCAT_HOME. When I tried to give other paths, the file couldn't be found. 

Thanx  in advance,
Konstantina