title: org.apache.struts.chain.commands.servlet.CreateAction createAction INFO: Initialize action of type:
body: <p>I am having a problem with my struts application, where user is asked to update his details with form action as userUpdateAction and form bean is UserUpdateForm.I have servlet filter to check whether the user is already logged in or not. If he didnt login i will forward to login action.if he logged i will show him update form where after all successful validation's it is forwarded to blank page. </p>
  
  <p>struts-config.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;action path="/userUpdateAction" type="com.vaannila.action.userUpdateAction" name="UserUpdateForm" input="/update.jsp"  validate="true" scope="request"&gt;
              &lt;forward name="success" path="/updateSuccess.jsp"  /&gt;
              &lt;forward name="error" path="/update.jsp" /&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>action class</p>
  
  <pre class="lang-java prettyprint-override"><code>public class userUpdateAction extends Action {
  
      @Override
      public ActionForward execute(ActionMapping mapping, ActionForm form,
              HttpServletRequest req, HttpServletResponse res) throws Exception {
          UserUpdateForm userform = (UserUpdateForm) form;
          System.out.println("form values:" + userform.getEmail());
          return mapping.findForward("success");
      }
  }
  </code></pre>
  
  <p>Forwarding names are proper (success is correct in both class and struts-config.xml).</p>
  
  <p>execute method is also correctly overriding Action execute method.</p>
  
  <p>In tomcat console i can see as</p>
  
  <pre><code>user already logged in start chain execution
  2 Feb, 2012 9:12:10 AM org.apache.struts.chain.commands.servlet.CreateAction createAction
  INFO: Initialize action of type: com.vaannila.action.userUpdateAction
  errors : {}
  </code></pre>
  
  <p>userUpdateAction is intialized but it does not execute <code>execute</code> method and going to a blank page.</p>