Hi Thennam Pandian ,
URL rewriting is possible only for dynamically generated HTML files it is NOT possible for static HTML files.
That is the HTML should be a runtime generated file(created in
Servlet) or
JSP .
So if your page is a dynamically generated page then with the help of Javascript you can set a encoded url
string to document's action .
In that way you can do URL rewriting when a submit button is clicked
Hope this helps