Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirecting from struts jsp form  RSS feed

 
Ranch Hand
Posts: 123
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What is the efficient way of redirecting to another jsp  page directly or via method (present in controller action class spring mvc) in jsp page via struts form based on predefined condition check. Please suggest.
 
author & internet detective
Marshal
Posts: 37898
596
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 1 or Struts 2? They are completely different frameworks so you need to specify to get an answer.
 
Divya Shiv
Ranch Hand
Posts: 123
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's struts 2 based,using action classes and tiles .
 
Bartender
Posts: 9462
12
Linux Mac OS X Windows
 
Divya Shiv
Ranch Hand
Posts: 123
Java Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the answer.I had condition check verified in java class and used redirection.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!