• Post Reply Bookmark Topic Watch Topic
  • New Topic

getAttribute in HttpServletRequest  RSS feed

 
vasuma patel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a form having some user inputs. When the form is submitted I an trying to get the user input values using getAttribute() method of request and they are always coming as nulls. When I tried using the getParameterValues method and get the first object of the resulting array I am getting the values.


Request experienced people to throw some light.

Thanks in advance.

Vasuma
[ March 18, 2006: Message edited by: vasuma patel ]
 
kwame Iwegbue
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think


is for a HttpServletRequest that was previously set by


what you need is
 
vasuma patel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right. Thanks
[ March 19, 2006: Message edited by: vasuma patel ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!