Redirects to the given url. Implementations should encode the URL to make sure cookie-less operation is supported in case clients forgot.
534535536537538539540541542543544
if (markupIdToComponent.values().contains(page)) { // the page itself has been added to the request target, we simply issue a redirect back // to the page final String url = requestCycle.urlFor(page).toString(); response.redirect(url); return; } for (ITargetRespondListener listener : respondListeners) {
530531532533534535536537538539540
if (markupIdToComponent.values().contains(page)) { // the page itself has been added to the request target, we simply issue a redirect back // to the page final String url = requestCycle.urlFor(page).toString(); response.redirect(url); return; } Iterator it = respondListeners.iterator(); while (it.hasNext())
129130131132133134135136137138139
// if (!session.isTemporary()) // { // response.addCookie(new Cookie("JSESSIONID", session.getId())); // } response.redirect(url); } /** * Returns a target that can be used to redirect to the specified protocol. If no change is * required null will be returned.
546547548549550551552553554555556
545546547548549550551552553554555
152153154155156157158159160161162
547548549550551552553554555556557
130131132133134135136137138139140