title: struts module configuration is not working?
body: <p>I am not able to make modues in struts.my web.xml configuration file contains the below configuration :</p>
  
  <p><strong>web.xml</strong>             </p>
  
  <pre><code>       &lt;init-param&gt;
          &lt;param-name&gt;config/admin&lt;/param-name&gt;
          &lt;param-value&gt;/WEB-INF/config/struts-config-admin.xml&lt;/param-value&gt;
      &lt;/init-param&gt;
  </code></pre>
  
  <p>and my action configuraion in  struts-config-admin.xml is </p>
  
  <pre><code>    &lt;action path="/userAdminAction"          type="com.admin.UserAdminAction"
           ............
       &lt;/action&gt;
  </code></pre>
  
  <p><strong>JSP</strong>   : <strong>searchLayout.jsp</strong></p>
  
  <pre><code>&lt;html:html&gt;
       &lt;html:form action="admin/userAdminAction.do" method="get"&gt;
          ..............
          ..............
          .............. 
           submit button to submit the form
      &lt;/html:form&gt;
  </code></pre>
  
  <p></p>
  
  <p>I am calling the jsp from the address bar using the url
         <a href="http://localhost/snpapp/admin/searchLayout.jsp" rel="nofollow">http://localhost/snpapp/admin/searchLayout.jsp</a></p>
  
  <p>but I am getting following exception stack trace:
  t cause of ServletException.</p>
  
  <pre><code>      servlet.jsp.JspException: Cannot retrieve mapping for action: "/admin /userAdminAction"
       at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:840)
  </code></pre>
  
  <p>at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:467)
    at jsp_servlet._lrd.<em>search.</em>_searchLayout.<em>jsp</em>_tag7(__searchLayout.java:438)</p>
  
  <p>I tried with different actions (Ex :action="/userAdminAction" or  action="userAdminAction.do") in jsp's form action but it is not working for modules.</p>
  
  <p>Please give me some idea. how can i achive  struts moduels should work for forms ?</p>