Wendy Smoak wrote:
From: "Carl Smith" <[EMAIL PROTECTED]>
In my application, I need to get all the HTTP request parameter names
and their values,
I am using HttpServletRequest.getParameterNames() and it works very well.
Then in one of my page, I have to submit the request as a type of
"multipart/form-data",
and then I found out HttpServletRequest.getParameterNames() stop
working.
Do you have any idea/alternatice as how to get the parameters for
multipart HTTP request?
Let the framework populate a form bean, and retrieve the values from it.
http://struts.apache.org/faqs/actionForm.html
Is this already a Struts app? If you need help getting started, just ask.
Shouldn't request.getParameterName() 'just work' if it's called from within
a Struts context? Multipart requests should get fed the
MultipartRequestHandler automatically shouldn't they?
L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]