Okay. A question for another approach: is there a way to save an ActionMapping
(ActionConfig) into a page, that I´m able to recall later on?
The idea is the following regarding the login-problem: I´ve defined a
base-action that does a check if roles are defined in the ActionMapping. If
this is t
I have actions like this:
forwards to edit
displays page
forwards to previous page
If you think about what these mappings are, they are really actions
(functions) of a person page. You go to a page to view a person and then
you use the page to save a person.
loadPerson and savePerson are
In Struts 1.3, if you don't specify the action name on the form tag,
Struts will automatically post the form back to the current page. If
you wrote a chain command that intercepted that post, you could perform
the login, then let the request continue on, which would result in the
original page
Paul,
thank you very much for your answer... but let me ask you for a few more
details:
I understood that I need a separation between simple pages and the pages, that
do some business logic and that I should do that through an additional
property in the ActionMappings of the struts-config.
But
On 8/30/06, Thomas Hamacher <[EMAIL PROTECTED]> wrote:
Dear everyone,
after spending a lot of time with googling and multiple tries with different
approaches and also my questions to the struts-user-mailinglist didn´t come
to a solution, I would like to as you guys if there is a way or not. So I
About a month ago I recommend this same thing. The problem really is
that Struts has no concept of a page, so it's impossible to tell the
difference between actions that perform business logic and actions that
just front rendering of a page.
You really need a page-based framework to make this
My question is: Does the struts-framework provide a possibility to forward
back to the page you came from?
Not as a standard feature, no.
It's come up several times over the year, but, AFAIK, no one has
contributed an elegant solution.
When implementing the use case myself for Struts 1, I've d
Dear everyone,
after spending a lot of time with googling and multiple tries with different
approaches and also my questions to the struts-user-mailinglist didn´t come
to a solution, I would like to as you guys if there is a way or not. So I´m
sorry, if I use the developers-list for a stupid us