Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem passing parameters to redirect action  RSS feed

shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is a test code for redirection

what i am trying to do

1. Displaying a jsp form (resultRedirAction.jsp) to enter 2 numbers (number1, number2)

2. number1 is mapped to ActionClass which finds the square of number1 and stores in an instance variable and i want number2 to be passed as parameter to another ActionClass using redirect action (ref struts.xml below) should find the square of number2 from its execute method which returns success dislplaying the resulting jsp resultRedirActionSuccess.jsp. this jsp will display number1, square of number1, number2 and square of number2




no redirection happening ?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!