Have a look at the sample app I wrote to demonstrate the DownloadAction:
http://wiki.apache.org/struts/StrutsFileDownload
There is some code in there for doing exactly what your trying to do. You
might find an answer there.
I'm not sure off-hand why your getting that exception unfortunately.
-
Hi,
what I want to do is display in a webpage file which is stored in database.
My struts app should recognize its mime type and according to this
perform suitable action (eg if it is *pdf run acrobat, if *html just
display it, etc). I know how to put and get this data from dbase and
how to reco
Hi,
what I want to do is display in a webpage file which is stored in database.
My struts app should recognize its mime type and according to this
perform suitable action (eg if it is *pdf run acrobat, if *html just
display it, etc). I know how to put and get this data from dbase and
how to reco
3 matches
Mail list logo