struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <>
Subject Re: Alternate for actionRedirect
Date Sun, 04 Dec 2011 09:33:03 GMT
Why is long request URI an issue for you?
You could do a simple redirect passing every parameters you want preserve.

Twitter     :
G+          :
Linkedin    :

Maurizio Cucchiara

On 4 December 2011 09:17, aum strut <> wrote:

> Hi All,
> Currently i am working with OAuth in my web-app, So i am redirecting my
> user to the third party system (gmail/yahoo) and once they authenticate
> thereself with those system ,these system will redirect back user to my App
> at a specified callback URL
> Things are working fine except that when user will be redirected back to my
> application the URL contains a lot of other information as a query string
> which i need to get other information related to the user.
> In my callback Action i am using those parameters and making some request
> to the gmail/yahoo and creating a user profile object and sending user back
> to the success page.
> Though everything is working fine but the URL is still having those long
> query string being send back by the OAuth service provider.
> if i use redirectAction though it will change the URL and make it clean but
> i will loose my user profile Object.
> How can i achieve this in best way so that i can get rid of this
> long query-string and same time able to maintain my user profile object?
> Thanks in advacnce

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message