Results 1 to 4 of 4
  1. #1
    niteangell21 is offline Member
    Join Date
    Sep 2010
    Posts
    40
    Rep Power
    0

    Default populate html table using jstl

    how can i use jstl to populate html table????
    this is my code but i am getting errors
    Java Code:
    <td ><c:out value="${database.id)" />  <input type="text" name="id" size="1" value ="${database.id}"></td>
    error is:

    org.apache.jasper.JasperException: /databaseContent.jsp(40,5) "${database.id)" contains invalid expression(s): javax.el.ELException: Error Parsing: ${database.id)

    I am trying to populate a cell as well as create a text area with the same data so that user can edit it.

  2. #2
    niteangell21 is offline Member
    Join Date
    Sep 2010
    Posts
    40
    Rep Power
    0

    Default

    never mind i fixed it

  3. #3
    omanuela is offline Member
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    Default

    Could you post how you fixed it?

  4. #4
    niteangell21 is offline Member
    Join Date
    Sep 2010
    Posts
    40
    Rep Power
    0

    Default

    My code was right, the problem was i missed a curly bracket next to
    "${data.id }"

Similar Threads

  1. JTable To HTML Table
    By dinesh66 in forum AWT / Swing
    Replies: 3
    Last Post: 03-28-2010, 06:33 PM
  2. populate an HTML table(jstl)
    By Rajib27 in forum New To Java
    Replies: 0
    Last Post: 03-15-2010, 10:54 AM
  3. JSTL and HTML White space
    By newakdev in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 02-24-2010, 06:54 PM
  4. Resultset to HTML Table
    By IDForums in forum JDBC
    Replies: 7
    Last Post: 01-15-2010, 07:45 AM
  5. how to populate html:select with values from database
    By sathya_k_83 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 11-07-2007, 11:53 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
  •