Announcement Announcement Module
Collapse
No announcement yet.
binding form's Map value in jsp Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • binding form's Map value in jsp

    I am not sure how to do this. I have a Map on my form(command object) where I have key entries with values null. I need to get the values from the jsp binded to this Map on my command object. The user is prompted to enter values for fields on the page, and those values I want to bind to the Map's value. How can I do this?

  • #2
    To bind to fields to Map entries use path="mapName[keyName]" in your bind tag.

    See also:
    Spring bind tag.
    JSP 2.0 specification, section 2.2

    Comment

    Working...
    X