0

We have a URL: http://example.com/index.jsp?hello=1&bye=0 where"1" and "0" are values of the parameter

How can I convert the URL to http://example.com/index.jsp/1/0 using form POST methods and javascript?

Ed Lee
  • 387
  • 2
  • 7
  • 12

1 Answers1

0

Url rewriting is what you are looking for.

This, this or this might help you.

Community
  • 1
  • 1
Prasanth
  • 5,230
  • 2
  • 29
  • 61