Results 1 to 2 of 2
  1. #1
    ajincoep is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Default how to pass value of table cell as parameter/attribute

    Hi,

    Java Code:
    <td> <a href="onclick("submitting form")"> <%=a.getvalue()%> </a> </td>
    I want the value of the cell (returned by a.getvalue()) to be used by servlet.

    Could you please tell how to do that.

    Note: Value is displayed as a link in <a href ...> and on clicking the value form get submitted.

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

Similar Threads

  1. how to pass parameter from one jsp to another jsp
    By kader_sit in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-10-2010, 02:04 PM
  2. If on cell of table
    By Tovam in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 05-18-2010, 08:34 AM
  3. I can't seem to pass a file through a parameter
    By daletron3030 in forum New To Java
    Replies: 5
    Last Post: 01-15-2009, 06:07 AM
  4. Replies: 1
    Last Post: 08-22-2008, 06:28 PM
  5. How to pass two parameter in struts-config using dynaActionForm
    By 82rathi.angara in forum Web Frameworks
    Replies: 2
    Last Post: 06-10-2008, 02:43 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
  •