-
1. Re: How to access undeployed files at runtime?
suhas Jan 6, 2003 7:14 AM (in response to brijeshp)Hi,
am also facing the same problem to view the uploaded files (stored in the server but not deployed)....can anyone help us?
Thanks in advance,
Regards,
Suhas -
2. Re: How to access undeployed files at runtime?
lbertels Feb 7, 2003 10:13 AM (in response to brijeshp)I face the same problem.
I disallowed the directory browsing by setting dirAllowed to false.
That takes care of unwanted browsing in the directories and that takes away the writing of a simple index.jsp in every directory.
But I would like to have a URL like
www.?????.be/appName/download
where I can see a list of files to download.
But I need to be able to put files in eg. c:\app\download\ and those files need to pop up when I browse to that URL.
The reason why I need this, is because I do not want to recreate my .ear file every time I have a new file to download.
I neighter want to create some extensive servlet that lookt at a directory and gives me the option to download...
In other words, a simple configurable way to browse a directory chosen by me, while all the other directories are secure...
Thanks in advance,
Les. -
3. Re: How to access undeployed files at runtime?
lbertels Feb 7, 2003 10:16 AM (in response to brijeshp)I face the same problem.
I disallowed the directory browsing by setting dirAllowed to false.
That takes care of unwanted browsing in the directories and that takes away the writing of a simple index.jsp in every directory.
But I would like to have a URL like
www.?????.be/appName/download
where I can see a list of files to download.
But I need to be able to put files in eg. c:\app\download\ and those files need to pop up when I browse to that URL.
The reason why I need this, is because I do not want to recreate my .ear file every time I have a new file to download.
I neighter want to create some extensive servlet that lookt at a directory and gives me the option to download...
In other words, a simple configurable way to browse a directory chosen by me, while all the other directories are secure...
Thanks in advance,
Les. -
4. Re: How to access undeployed files at runtime?
juhalindfors Feb 7, 2003 12:32 PM (in response to brijeshp)create new UCL that points to your u/l directory URL and do a getResourceAsStream() ?