struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Laird" <Laird.Nel...@FMR.COM>
Subject RE: flow control decision making
Date Tue, 21 Jan 2003 12:14:12 GMT
Funny you should mention that.  I've been wondering the same thing.  Search
the archives for a long discussion that Ted and I had on the issue.  The
short answer is no, there's not.  The long answer is if I ever get any free
time yes, there will be.

Laird

--
Laird J. Nelson
Electronic Channel Group, Fidelity eBusiness (Veritude)
* (508) 357-3142
* laird.nelson@fmr.com <mailto:laird.nelson@fmr.com> 
* 1075462@skytel.com <mailto:ljnelson@skytel.com> 



> -----Original Message-----
> From: Tony Baity [mailto:tonybaity@yahoo.com]
> Sent: Monday, January 20, 2003 11:43 PM
> To: struts-user@jakarta.apache.org
> Subject: flow control decision making
> 
> 
> 
> Hello,
> 
> I've been off the list for a while... busy coding up about 60 
> action classes and all the JNDI behind them.
> 
> One thing I found about using the struts_config file is that 
> it is a lot easier to refactor, fix flawed business rules 
> dealing with page flow, etc in the struts config xml than it 
> is to yank the java code around in the action classes. For 
> instance, if I found that action X really needed to route to 
> targets a, b, c and d instead of Action Y, I have to move the 
> logic out of Action Y and put in into Action X whereas in the 
> struts config all I need to do is move the <forward lines 
> between the two <action elements.
> 
> I was thinking of developing a way to make the routing logic 
> separate from the business logic that does all the data 
> accessing and updating. But all I can think of is to create 
> another action class to forward to for handling this.
> 
> Is there a way to specify in the struts_config a class that 
> an <action element can use just for determining the 
> action_forward and to ignore the value returned by the action class.
> 
> -Tony
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now
> 

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message