In addition to Phil's advice, if I understand you correctly you are asking
how you can differentiate two different behaviors in the same action class.
When action is /mainscreen then ReportParameterAction should do one thing
(or nothing) but when action is /report then ReportParameterAction should
validate=false
scope=session
input=/mainscreen.jsp
/action
bye,
Mohan
-Original Message-
From: Phil Steitz [mailto:phil;steitz.com]
Sent: Monday, October 21, 2002 10:45 AM
To: Struts Users Mailing List
Subject: Re: How to add a pre
(WebConstants.MAPPING_SUCCESS));
}
}
Chappell, Simon P [EMAIL PROTECTED] on 10/21/2002 09:42:56 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
cc:
Subject:RE: How to add a pre-action
Remember
Mohan Radhakrishnan wrote:
Hi,
I am doing something similar but I have a doubt.
I show selection parameters with the following action mapping. The html:form
action for that is mainscreen.action.
actionpath=/mainscreen
type=com.hcl.smartmanage.web.action.ReportParameterAction
Hi,
input=/a/bookSearch.jsp
Could you explain what this parameter means ? We have a similar requirement.
bye,
Mohan
Here is a simple example showing one way to deal with this type of
thing. There are no doubt lots of other ways to handle this.
Use case: library search. User page
Hi,
I am doing just that. Hope it works. Thanks.
bye,
Mohan
-Original Message-
From: Dave Derry [mailto:dderry;acm.org]
Sent: Monday, October 21, 2002 4:52 PM
To: Struts Users Mailing List
Subject: Re: How to add a pre-action
In addition to Phil's advice, if I understand you
],
[EMAIL PROTECTED]
cc:
Subject:RE: How to add a pre-action
Remember that the Struts example application, while it does work, is
perhaps best considered as a bad example. If I ever get any free time, I'd
love to re-write it with some of the best practices that are now being
discovered
Hi,
Can somebody kindly help me with the following...
I want to add a path and an Action class. The action class will then preload data into
a bean and then forward (do I mean forward) to the jsp that displays the bean. That's
it. I want this action to be in *addition* to the *normal*
Howard == Howard Miller [EMAIL PROTECTED] writes:
Howard Hi,
Howard Can somebody kindly help me with the following...
Howard I want to add a path and an Action class. The action class will then
preload data into
Howard a bean and then forward (do I mean forward) to the jsp
I think I'm seriously missing the point here! I have looked at the example application
in some detail and it appears to add a parameter (eg, ?action=new) to tell the action
for a form to perform an initialising action. I don't see it using a pre- action.
I am incredibly stuck with the concept
Howard Miller wrote:
I think I'm seriously missing the point here! I have looked at the example application
in some detail and it appears to add a parameter (eg, ?action=new) to tell the action
for a form to perform an initialising action. I don't see it using a pre- action.
I am incredibly
That helps a lot... just one question if you don't mind... can I check how you would
forward from the prepareListBookAction to the bookSearch.jsp. I assume you are just
using mapping.findForward( success ). That didn't work for me... which is really why
I started thinking that I was doing
Howard Miller wrote:
That helps a lot... just one question if you don't mind... can I check how you would
forward from the prepareListBookAction to the bookSearch.jsp. I assume you are just
using mapping.findForward( success ). That didn't work for me... which is really why
I started thinking
13 matches
Mail list logo