Hi!!
I am a new user of Struts and would really appreciate if one of u
could help us with the problem we are facing.
We are trying to use getParameter method of MultipartRequestWrapper class.
We prepare a HTML form with enctype=multipart/form-data. On Submit, the
doPost method of the Servlet is called. In the post method, we instantiate
MultipartRequestWrapper by
MultipartRequestWrapper mrw = new MultipartRequestWrapper(request); //
HttpServletRequest request
We then try to get a parameter title using the following call
mrw.getParameter("title");
This parameter was set initially in the form. However getParameter() returns
a null on execution.
Even getParameterNames() returns null;
How can we retrieve the value of this parameter correctly ?
Thanks in advance,
Pranjal
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>