All pastes #426918 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-06 14:15 UTC
rendered paste body
*** STRUTS-CONFIG.XML ***

  <form-beans>
    <form-bean name="tagForm" type="net.something.asset.struts.TagForm" />
  </form-beans>

<action-mappings>
    <action path="/tags" type="net.something.asset.struts.TagDispatchAction" name="tagForm" input="/WEB-INF/jsp/mylogin.jsp" scope="request" validate="false" parameter="dispatch">
      <forward name="display" path="/WEB-INF/jsp/index.jsp"/>
</action-mappings>







*** JSP PAGE *** 

<html:form action="tags" enctype="multipart/form-data">
  jsp code
</html:form>



tags in the <form/> references the <action-mappings/>  which references the bean in <form-beans/>