jQuery in Action, 2nd edition*
The moose likes Other Application Frameworks and the fly likes Frontman: does Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Frontman: does "redirect" take any URL?" Watch "Frontman: does "redirect" take any URL?" New topic

Frontman: does "redirect" take any URL?

Pat Farrell

Joined: Aug 11, 2007
Posts: 4646

In the CommandContext javadocs:
void redirect(java.lang.String location)

Will this take a complete URL to any host/protocol?

My use-case is a bit hard to test, I cause the user's browser to POST to a vendor page (authorize.net) and they then
POST back to my url. I can get my bean to receive their post, no problem. But the browser's URL still has their
host in the go-to bar. (specifically https://test.authorize.net/gateway/transact.dll) but it shows my bean's view.

I really need to re-write the browser toolbar with my website.

subject: Frontman: does "redirect" take any URL?
Similar Threads
Redirect url with in the action class
c:url vs. c:redirect
Redirect - 302 or 307
redirect to another url using the post method
How to redirect to a new url from Action class with post method?