• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts: redirect to reqested page after successfull login

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using struts1.2

Problem: I am accessing page which requires to login. and it redirect to login page before page can be seen.

after successfully login i want to see the requested page.


I am using struts1.2

thanks in advance
ajay kumar
 
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello....is ther some one...
i'm to stuck up with the same problem...!!!
can anyone help...
thanks.,
gandarv :
 
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dude can you post your code?
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello wats the big idea of showing the code...here the problem is clear,,
thats first wen you come with a site
there you have some menu ..u chose one item
wen you choose you wil have to login and then after login you must be redirected,,,
now can i do that...
i need to get the url befor goin to the result page of login...
please.
do give me some suggestions
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're using Filter for redirecting the unauthenticated user to the login page, I suggest to store the the requested URL into the request object parameter and then redirected to the login page, after successful login, redirect to the parameter url
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic