Ruben,

Thanx for you reply.  I will try to explain you with
an example.

>From A.jsp we are forwarding the request to B.jsp. 
B.jsp has some data that should come pre-populated in
the form.  For populating the ActionForm for B we need
to write some code.  My question is where can we write
that ? In A's Action or in B's Action ?  Any simple
pattern that can be used for this ?

Will it not be better if we use some method in B's
action itself that will be called and its form wud be
populated there only.  In such a case we will have a
clear seperation of logic for two pages.

Regards,


Nitin Dubey


--- Ruben Cepeda <[EMAIL PROTECTED]> wrote:
> Nitin,
> 
> I am unsure of you quesiton.  Yet if you need help
> with the DispachAction 
> here is a very helpfull link: 
> http://husted.com/struts/tips/002.html
> 
> *************************************
> Ruben Cepeda
> [EMAIL PROTECTED]
> *************************************
> 
> 
> 
> ----Original Message Follows----
> From: nitin dubey <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List"
> <user@struts.apache.org>
> To: Struts Users Mailing List
> <user@struts.apache.org>
> Subject: Anybody who can answer this ?
> Date: Sun, 13 Mar 2005 06:04:01 -0800 (PST)
> 
> 
> --- nitin dubey <[EMAIL PROTECTED]> wrote:
>  > Hello,
>  >
>  > When using DispatchAction can we somehow
> configure
>  > the
>  > framework to use the unspecified() method for
>  > loading
>  > the page contents from database ?
>  >
>  >
>  > Regards,
>  >
>  > Nitin Dubey
>  >
>  >
>  >
>  > __________________________________
>  > Do you Yahoo!?
>  > Read only the mail you want - Yahoo! Mail
> SpamGuard.
>  >
>  > http://promotions.yahoo.com/new_mail
>  >
>  >
>
---------------------------------------------------------------------
>  > To unsubscribe, e-mail:
>  > [EMAIL PROTECTED]
>  > For additional commands, e-mail:
>  > [EMAIL PROTECTED]
>  >
>  >
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Sports - Sign up for Fantasy Baseball.
> http://baseball.fantasysports.yahoo.com/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to