Results 1 to 3 of 3
  1. #1
    bhanusri is offline Member
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default regarding jstl and jsp

    can please tell me the code to get the data form the arraylist object into jsp and store the data in the form fields it means this data should be the input to the form fields. I am troubling to write this code in case of updation of one application.

  2. #2
    Join Date
    Jun 2011
    Posts
    4
    Rep Power
    0

    Default

    store the data in the request scope in the controller and then forward to jsp.
    In the jsp using foreach retrive it.

  3. #3
    bhanusri is offline Member
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    0

    Default regarding to jsp,jstl

    Quote Originally Posted by a.yashwanthkumar View Post
    store the data in the request scope in the controller and then forward to jsp.
    In the jsp using foreach retrive it.
    ya i did that but my question is not that,my question is that after getting the the into the jsp we use jstl foreach tag to retrieve the data from Arraylist object na but this data we need to supply as the input to my form fields

    For ex;
    how do we set the value to a field in javascript say document.formname.variablename.value.Inthe same way i need to store data from array list obj into form field

Similar Threads

  1. JSTL and JSP
    By mohinicharankar in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-23-2011, 08:26 AM
  2. Jstl
    By prakashkadakol in forum New To Java
    Replies: 10
    Last Post: 01-13-2010, 08:17 PM
  3. Why are we using JSTL in jsp?
    By makpandian in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 06-30-2009, 11:15 PM
  4. jstl tag <if>
    By subha in forum Advanced Java
    Replies: 1
    Last Post: 04-02-2009, 10:07 PM
  5. jstl in jsp
    By nagaprasanna in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-18-2008, 09:18 AM

Posting Permissions

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