Url Rewriting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elangobala
    New Member
    • Sep 2007
    • 30

    #1

    Url Rewriting

    Hai i have a doubt in url rewriting.

    I have a text control and a link in my jsp . when i click the link it takes the value of the page and passes the value through url .how to avoid that still i m using post method.it s passing the value in the url. i want to avoid it in my app.
    can anyone suggest me plz...

    <html>

    <head>

    </head>


    <body>

    <form action="test.js p" method="post" name="elango">

    <input type="text" name="tst" value="">

    <input type="submit" name="enter" value="enter">
    </form>


    </body>

    </html>

    when i submit this form ,the text value and the submit button value to be passed in the url. i want to protect the values not showing in url bar.
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #2
    Originally posted by elangobala
    Hai i have a doubt in url rewriting.

    I have a text control and a link in my jsp . when i click the link it takes the value of the page and passes the value through url .how to avoid that still i m using post method.it s passing the value in the url. i want to avoid it in my app.
    can anyone suggest me plz...
    If you submit the page then the form Method (Get,Post ... ) will work.
    Then change your href attribute of the a tag.
    Please post some code what you tried so far and describe the problem in brief so that it will be easier to solve.

    Kind regards,
    Dmjpro.

    Comment

    Working...