Re: How to show downloadable link using FormFile class .

2006-10-25 Thread Anuraag Shinde
Thanks will definately try it. On 10/25/06, Ed Griebel <[EMAIL PROTECTED]> wrote: For 1.1, you could try extending Servlet or a generic Action which will redirect the InputStream to the servlet response writer. You will have to do some of the busywork yourself like getting the writer and settin

Re: How to show downloadable link using FormFile class .

2006-10-25 Thread Ed Griebel
For 1.1, you could try extending Servlet or a generic Action which will redirect the InputStream to the servlet response writer. You will have to do some of the busywork yourself like getting the writer and setting up the InputStream yourself. Can't help you with the blob stuff, but my guess is t

Re: How to show downloadable link using FormFile class .

2006-10-25 Thread Anuraag Shinde
Thanks a lot friend for ur detailed explanation, But the problem is DownloadAction came with struts 1.2 and i am using 1.1 :( And i am saving the file in databse as blob. I can get content using resultset.getblob("file") but what after that ? How can i transfer this to my formbean's file field ??

Re: How to show downloadable link using FormFile class .

2006-10-25 Thread Ed Griebel
What I have done in this situation is - obtain a list of valid files and create an identifier or "token" for each one (usually as simple as the name of the file) corresponding with the identifier expected in the action described below - throw the list of files into a List in the request/session/fo