This
falls in the category "I want to pass parameters along a redirecting
forward, but I don't know how."
I have
the same problem when:
- a user adds a new contact to a group in an
hypothetical addressbook.
- on
success a list of all contacts in that group is shown.
- to
avoid double/triple-submissions due to reloads, I want to use a redirect, but
then I cannot add/set a groupId=42.
- ugh.
The
only solution I can think of - but havent tested it yet - is redirecting using
response.sendRedirect() to a resolved forward url from the Action class.
(The <html:link forward="..."/> tag contains code for the resolving
logic.)
Does
anyone know if redirecting from an Action class works?
Renzo
|
- HTTP requests in struts-config.xml Guus Holshuijsen
- RE: HTTP requests in struts-config.xml Renzo Toma
- RE: HTTP requests in struts-config.xml Noel Sebastien