Global result of type redirect

2008-09-22 Thread [EMAIL PROTECTED]
Ho all. I'm il train! It is possible in struts.xml to have global result of type redirect? My struts.xml doesn't give validation errors, but results or type redirect aren't visible ho the controller. Please help Gianluca Inviato da iPhone

Re: Global result of type redirect

2008-09-22 Thread Chris Pratt
Are you saying you want to set the default result type to redirect globally or that you just want a global result type of redirect to be available to your actions? If the former, just redefine the redirect result type in your package and set it to default=true, like: result-types

Re: Global result of type redirect

2008-09-22 Thread Gianluca Musella
Hello Chris. Thank you. Are you saying you want to set the default result type to redirect globally or that you just want a global result type of redirect to be available to your actions? The second. I wrote this: package name=almayer namespace=/ extends=struts-default global

Re: Global result of type redirect

2008-09-22 Thread Chris Pratt
saying you want to set the default result type to redirect globally or that you just want a global result type of redirect to be available to your actions? The second. I wrote this: package name=almayer namespace=/ extends=struts-default global-results result name=login