On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote: > Hi, I am using struts to develop a webapp. One piece > of work is the user information. I will allow user to > create, view, and update his personal information.
Maybe you would like to reconsider your three pages, and split them into "edit new", "vew existing" and "edit existing" plus a separate action just to create a new userinfo? In that case you might find this worth reading: http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost2 > Usually, the three pages are very similar. What is the > best way to do this with Struts? Is there any > "Pattern" for this? I checked the Struts > DispatchAction, but > not sure how to do it... DispatchAction simply allows you to define handler methods for events, usually triggered by submit buttons. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]