• Post Reply Bookmark Topic Watch Topic
  • New Topic

URL rewriting and forms  RSS feed

 
John Cogan
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you implement url rewriting for requests that are made when you submit a form?
Best regards.
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this
.
.
.
.
<form action="http://localhost:18080/examples/jsp/Test1.jsp?userID=KKK" method='Post'>
.
.
.
.
.
.
cheers
Praful
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm I don't think so ..
I think the way you implement url rewriting is by using encodeURL(String url). So you basically encode all the url's, including the action attributes of the forms.
 
Anselm Paulinus
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Andres is right; refer to pps 127 & 128 of the exam study kit for further explanation on url rewriting.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!