Results 1 to 2 of 2

Thread: binding form's Map value in jsp

  1. #1

    Default 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. #2
    Join Date
    Sep 2004
    Location
    Sacramento, CA
    Posts
    8

    Default

    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

Similar Threads

  1. Replies: 7
    Last Post: Sep 13th, 2005, 01:45 AM
  2. Forms and nested properties
    By DaGGeRRz in forum Swing
    Replies: 0
    Last Post: Feb 23rd, 2005, 08:59 AM
  3. Replies: 2
    Last Post: Jan 18th, 2005, 04:06 AM
  4. binding dynamic forms
    By klb in forum Web
    Replies: 5
    Last Post: Nov 18th, 2004, 04:22 PM
  5. Replies: 2
    Last Post: Aug 17th, 2004, 04:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •