wood burning stoves 2.0*
The moose likes JSP and the fly likes get Parameter by name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "get Parameter by name" Watch "get Parameter by name" New topic
Author

get Parameter by name

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 370
For <label name="xyz" value="XYZ"> type input, parameters.get("xyz") returns null. Does that make sense ? should it throw exception ?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
The <label> element is not an input element.
Input elements are at least <input>, <select> and <textarea>.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Indeed, name and value are not valid attributes of <label>.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: get Parameter by name
 
Similar Threads
What Company name ends with Inc.?
passing String[ ] in request object.
why we called a servlet an controller
getting value in logic iterate
Session Variable and JSTL