On Wed, 2005-03-23 at 09:20 -0500, Brandon Mercer wrote:

This was exactly the second approach, the redirect approach :-)

Leon

> You could forward to a list action.  Something like this maybe. 
> <global-forwards>
>     <forward name="users" path="users.html" redirect="true"/>
> </global-forwards>
> 
> <action-mappings>
>     <action path="/users type="org.apache.struts.actions.ForwardAction
>           parameter="/user.html"/>
> 
>     <action path="/user"
> type="org.springframework.web.struts.DelegatingActionProxy"
>           name="userForm" scope="request" parameter="method"
> validate="method">
>              <forward name="list" path="userList.jsp"/>
>              <forward name="edit" path="userForm.jsp"/>
>     </action>
> 
> That way even if they do hit the ole' F5 all it does is reload the
> list.  If you want more information about doing this, or need to see
> some source code check out the equinox-struts example from:
> https://equinox.dev.java.net/servlets/ProjectDocumentList?folderID=2867&expandFolder=2867&folderID=2572
> 
> This app was found on www.raibledesigns.com/wiki/
> 
> Hope this helps.
> Brandon
> 
> 
> ---------------------------------------------------------------------
> 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