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 db key(db will have the values) as a request parameter. I can fetch the data from database 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

@Controller
public class TestController {
@RequestMapping(value="/test")
public String showTestPage() {
return "forward:/test2?param1=foo&param2=bar";
}
}

@Controller
public class TestController2 {
@RequestMapping(value="/test2")
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.