• Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirect in Action class

 
amit sharma
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application whenever a user authenticated i want to redirect.How to do this .
Thanks
 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi damy,

It may be done using Action Forward object which the Action Class returns.

Please post the code with the specific exception so that its easy to help you.

I think it would be worthwhile to go through a struts tutorial, which are plenty on net. Here are some pointers.
www.javapassion.com/j2ee/StrutsBasics_speakernoted.pdf
www.developer.com/java/ent/article.php/2107401

Regards,
Roshani
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!