Results 1 to 2 of 2

Thread: Please help me.

  1. #1
    Santoshbk is offline Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    0

    Default Please help me.

    Hello to All,

    how we can send post method form fields by hyper link to a servlet?

    Ex: <form method=post action="/abs ">

    <INPUT type="text" name="firstname" >
    <INPUT type="text" name="lastname" >

    <a herf ="xyz">

    <a>
    </form>

  2. #2
    neeraj.singh is offline Member
    Join Date
    Feb 2009
    Location
    Delhi
    Posts
    63
    Rep Power
    0

    Default

    use a javascript function into <a href="xyz" onClick="submitForm()"

    in the javascript submitForm() write
    formname.submit();

Posting Permissions

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