Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Java
»
JSP
URL rewriting and forms
John Cogan
,
Ranch Hand
Oct 06, 2003 08:10:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
How do you implement url rewriting for requests that are made when you submit a form?
Best regards.
Praful Thakare
,
Ranch Hand
Oct 07, 2003 05:14:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
try this
.
.
.
.
<form action="http://localhost:18080/examples/jsp/Test1.jsp
?userID=KKK
" method='Post'>
.
.
.
.
.
.
cheers
Praful
Andres Gonzalez
,
Ranch Hand
Oct 07, 2003 05:55:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
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
Oct 07, 2003 11:39:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
I think Andres is right; refer to pps 127 & 128 of the exam study kit for further explanation on url rewriting.
Post by:
autobot
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
This thread has been viewed 1038 times.
Similar Threads
Uppercase / Lowercase URLs
JSP/form/servlet - session persistence ?
how can i use session with out using cookie
URL same
How can i share the session between webapps?
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:37:11
.