Win a copy of Design for the Mind this week in the Design forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic