there.
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-S2--Parameterized-File-Downloading-tf4191759.html#a11976775
]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-S2--Parameterized-File-Downloading-tf4191759.html#a11957463
Sent from the Struts - User mailing list archive at Nabble.com
Grish wrote:
s:url id=downloadUrl action=download namespace=/filedownload
s:param name=inputPath value=/images/test.gif /
/s:url
s:a href=%{downloadUrl}Get image/s:a
So does this generate a link relative to your webapp of
filedownload/download.action?inputPath=/images/test.gif
?
( note,
] in the invocation stack
Is there another way i should be setting my inputPath parameter for my File
or do I just have to make a lot of actions for each of my download?
--
View this message in context:
http://www.nabble.com/-S2--Parameterized-File-Downloading-tf4191759.html#a11920666
Sent from the Struts
Hi,
Is it a typo, I dont see a /s:param tag in ur code?
Thanks,
Nuwan
Grish wrote:
I studied the struts showcase sample of file downloading. I wanted to do
something similar but instead of setting the inputPath paremeter in
struts.xml I wanted to pass it in the url. I was thinking of using
Grish wrote:
I studied the struts showcase sample of file downloading. I wanted to do
something similar but instead of setting the inputPath paremeter in
struts.xml I wanted to pass it in the url.
Sounds like you're opening a very large security hole here...
-Dale
-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-S2--Parameterized-File-Downloading-tf4191759.html#a11938299
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe
?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-S2--Parameterized-File-Downloading-tf4191759.html#a11938302
Sent from the Struts - User mailing list archive at Nabble.com
Grish wrote:
Hmmm good point. So does this mean that the only secure way of having
downloads is to have specific actions for each download? Or is there a
better approach?
I don't claim to know what the best approach is. As long as your action
does sufficient validation of the specified input
9 matches
Mail list logo