• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
reply
    Bookmark Topic Watch Topic
  • New Topic