Announcement Announcement Module
Collapse
No announcement yet.
Forward from MultiActionController to other Controllers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forward from MultiActionController to other Controllers

    I have a simple webapp using index.jsp as a template, and import/include the content depends on the action parameter, i.e. index.jsp?action=XXXX

    Index.jsp
    <header>
    <navigation>
    <c:import url=”${contentPage}”/>
    <footer>

    I think MultiActionController with ParameterMethodNameResolver will suit my requirement, i.e.

    public ModelAndView XXXmethodName(request, response).
    return (“index.jsp”, “contentPage”, pageName);

    However, some of the import/include contents are form based. What is the proper way to “fork” the request to a SimpleFormController to handle the form pages?

    Many thanks.


    java9394
Working...
X