Something as simple as the security gains of going through a single servlet
or code duplication that you can get rid of because in every JSP you set
some request attribute or something and now you can extend the ActionServlet
or alike and add that in one place and if it changes it is much easier to
change it in that one place.

Or you can have your actions detect that the device accessing this action is
a carFishBicycle device (yet to be invented) so it forwards to the page that
the carFishBicycle can interpret instead of a JSP.

I think you are on the edge of the forest and you aren't scared but if you
were in the middle of the forest and night started falling...  You'd start
fronting those darn JSPs 

:-)


-----Original Message-----
From: Adam Levine [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2003 5:19 PM
To: [EMAIL PROTECTED]
Subject: RE: struts 1.1 question

This, of course, assumes that all pages require the functionality of 
forwards and actions and lions and tigers and bears.

don't lose sight of the forest for the trees.


From: "Bailey, Shane C." <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: struts 1.1 question
Date: Mon, 11 Aug 2003 17:02:13 -0400



A good starting point for all you antidisestablishmentarianist that don't
want to front your JSPs might be the use of the ForwardAction and
global-forwards.  That just forwards to a view page without writing a new
class.  This way, when you are ready to do the right thing, you can change
some of those ForwardActions and possibly global-forwards to real Actions.

Just a thought.

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

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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]

Reply via email to