• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Frontman: does "redirect" take any URL?

 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
Pat
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!