If you don't mind writing tag libraries to simplify client code you can go with option 2. You end up with an interface that is richer for the user as you can compress dozens of actions to a single jsp. If you just want to write jsp and use the tags out of the box the only alternative is 1.
Edgar -----Original Message----- From: Daniel Tamborelli Alvarenga [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 2:02 AM To: '[EMAIL PROTECTED]' Subject: Simple Doubt Hi everyone, First I wanna say that i'm new in Struts and my problem is above... i have a "Talk to us" section at my website, so i wanna know wich is the best way to show a confirmation to the user saying that the message was sent ok... I thought in two possibilities: 1) I could have one separated file like talk_to_us_message_ok.jsp and this file would be mapped by a "success" forward action... 2) I could have the same talk_to_us.jsp that look at the action parameter and change the view based on these parameters... Example: http://......./talk_to_us.jsp?status=ok Does anybody have a better suggestion or pattern... Thank you -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

