You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Paolo Victor <pa...@dsc.ufcg.edu.br> on 2005/06/15 20:55:39 UTC

Providing download of external files

Hello,

I'm having trouble with downloads on the jetspeed portal I'm working on. 
The problem is that
the only files "visible" to the user are those that are inside the 
portal's root directory:

(...)/jakarta-tomcat-xyz/webapps/PortalNameGoesHere

And that aren't inside configuration directories, such as WEB-INF, and 
on the portal I'm
creating the files that may be downloaded may be anywhere on the 
server's file system.

Since the action classes and jsp templates have access to the local file 
system, is there any
way of providing downloads for these files, such as opening a output 
stream and flushing
it to the http response?

Thanks,
Paolo


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