A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
does URL content change when I use .forward()
Joined: Nov 27, 2001
Jan 25, 2002 16:08:00
I found that when I do a forward(req, res) from a
. The content of the page changes to the jsp's content, but the URL stays the same as servlet's URL. Is it suppose to be the case ?
Roy Ben Ami
Joined: Jan 13, 2002
Jan 25, 2002 16:19:00
yes. it is
if u want to send the client browser to a new url completly use the response.sendRedirect(..)
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: does URL content change when I use .forward()
help on forward on actionForm's validation fail
does URL change when using "forward(req, res)" ?
Redirect http to https
"jsp:include page=..." and refresh
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014