• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Webflow - How to get the request parameters from query string in my form

 
Priyanka Dandekar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi experts,
I am using SPRING MVC webflow using FlowController. When I submit a request using input page with same parameters

myid and zip code I get the response properly. but when I send the request using url like shown below it does not find the parameter values




I tried using following method call but the value is null



Let me know if I am doing something wrong here. Why spring MVC doesn't recognize query string parameters but works for normal form based submissions.

I would want to open my page to all kind of requests, and thats why I want to allow query String parameters.

Let me know your comments/ suggesttion


 
Priyanka Dandekar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out the issue and here is the solution for others benifit

Add a action state instead of view state in the flow xml like below



I still don't understand the reason why it doesn't get the request parameters from query string when I am using view state though. Let me know if you have some clue.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic