Hi,
We have implemented some thing similar using a custome tag(NLS tag..)The 
approach we have used is we have a  abstract action..And in abstract action , 
we strore the last action called url...So every time the last action called is 
in the session...along with the request uri ...

So when user clicks on the NLS link,his local is changed in the session and 
same action is called again using the valuse stored in session....

Hope this helps,
regards,
Shirish

-----Original Message-----
From: hbuch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 11:47 AM
To: struts-user
Cc: hbuch
Subject: forward to same page



Hi,

Is there a way to set the "forward" page to be the same page that originated
the request?

I want to enable users to change locale with a button. But I don't
want them to go anywhere else after submitting their form.

Here is an example to illustrate what I want to do (obviously, I know 
"path=thesamepage" won't work :-)).

   <action   path="/changeLocale"
              type="dk.au.registration.oekonomi.student.LocaleAction"
              name="localeform"
              scope="request"
              validate="false" 
        <forward name="success" path=thesamepage>
    </action>


Thanks,

Heather Buch


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



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

Reply via email to