[jboss-user] [JBoss Portal] - I can't get the parameter <form> in my portlet

remi_dong do-not-reply at jboss.com
Thu Oct 18 09:38:13 EDT 2007


Hi,
I have a  in jsp ex:
*********************JSP***********************

  | <form method="POST" name="register_form" action="/portal/default/userDisplay/userDisplayWindow?action=2&act=1">	
  | <input name="uname" type="text"  maxLength="100"/>
  | <input name="mail" type="text" maxLength="100"/>
  | <input type="submit" name="ok" value="OK">
  | </form>
*********************************************

and in my portlet i want get the value of the form:
*********************Portlet***********************
public void doView(RenderRequest request,RenderResponse response)......
request.getParameter("uname")
request.getParameter("mail")
..............
*********************************************
but, the value request.getParameter("uname") is null.
Thanks for help....

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096556#4096556

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096556



More information about the jboss-user mailing list