topical media & game development

talk show tell print

professional-portal-09-MVCPortlet-web-WEB-INF-controllers.xml / xml



  <controllers>
    <name>MVC Portlet Test</name>
    <identifier>MVC Portlet Test</identifier>
    
    <view-controller>
      <default-action>ShowMVCPortletAction</default-action>
      <action name="ShowMVCPortletAction" class="mvctest.MVCPortletAction">
        <forward name="success" page="MVCPortlet.jsp"/>
        <forward name="error" page="MVCPortlet.jsp"/>
      </action>
      <action name="MVCPortletAction" class="mvctest.MVCPortletAction">
            <forward name="success" page="MVCPortlet.jsp"/>
            <forward name="error" page="MVCPortlet.jsp"/>
      </action>
    </view-controller>
  
      
    <help-controller>
      <default-action>MVCPortletHelpMode</default-action>
      <action name="MVCPortletHelpMode" class="mvctest.MVCPortletHelpMode">
        <forward name="success" page="MVCPortletHelp.jsp"/>
        <forward name="error" page="MVCPortletHelp.jsp"/>
      </action>
    </help-controller>
    
    <edit-controller>
      <default-action>MVCPortletEditMode</default-action>
      <action name="MVCPortletEditMode" class="mvctest.MVCPortletEditMode">
        <forward name="success" page="MVCPortletEdit.jsp"/>
        <forward name="error" page="MVCPortletEdit.jsp"/>
      </action>
      <action name="MVCPortletAction" class="mvctest.MVCPortletAction">
           <forward name="success" page="MVCPortlet.jsp"/>
           <forward name="error" page="MVCPortlet.jsp"/>
      </action>
    </edit-controller>
    
  </controllers>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.