Announcement Announcement Module
No announcement yet.
How to Add request parameters in webflow Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Add request parameters in webflow

    Currently my application logic is using request parameters to execute the logic. In my new requirement I can also get a request that will only have a mafly id a request parameter. I can fetch the data from mayfly but the problem is now my existing logic/flow will not work as it expects the data in parametermap.

    In spring-mvc I can just forward the request again and append the parameters to request
    public class TestController {
    public String showTestPage() {
    return "forward:/test2?param1=foo&param2=bar";

    public class TestController2 {
    public String showTestPage(HttpServletRequest request) {
    String param1 = request.getParameter("param1");
    String param2 = request.getParameter("param2");
    return "testPageView";

    But in spring-webflow I am not sure how to replicate the same behavior as it works on states instead of request mapping. Can anyone please let me know if there is a way to forward in spring-webflow after adding parameters.