title: http status 404 The requested resource (/Crime/) is not available
body: <p>I'm using struts framework and this problem is occurred when i deploy my project....
  why this error is occurred at the deploy time???</p>
  
  <p>web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="2.5" 
      xmlns="http://java.sun.com/xml/ns/javaee" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
      http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;userLogin.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  
  
  &lt;filter&gt;
    &lt;filter-name&gt;f1&lt;/filter-name&gt;
    &lt;filter-class&gt;org.apache.struts2.dispatcher.FilterDispatcher&lt;/filter-class&gt;
    &lt;/filter&gt;
    &lt;filter-mapping&gt;
    &lt;filter-name&gt;f1&lt;/filter-name&gt;
    &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
    &lt;/filter-mapping&gt;
  
    &lt;listener&gt;
      &lt;listener-class&gt;org.apache.struts2.tiles.StrutsTilesListener&lt;/listener-class&gt;
    &lt;/listener&gt;
  
  &lt;/web-app&gt;  
  </code></pre>
  
  <p>tiles.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt; 
  
  &lt;!DOCTYPE tiles-definitions PUBLIC 
  "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" 
  "http://tiles.apache.org/dtds/tiles-config_2_0.dtd"&gt; 
  
  &lt;tiles-definitions&gt;
     &lt;definition name="common" template="/FirstLayout.jsp"&gt; 
     &lt;put-attribute name="header" value="/header.jsp"/&gt; 
     &lt;put-attribute name="body" value="/footer.jsp"/&gt; 
     &lt;/definition&gt;
  
     &lt;definition name="validUser" extends="common"&gt; 
     &lt;put-attribute name="title" value="Login User"/&gt; 
     &lt;put-attribute name="contents" value="/userLogin.jsp"/&gt; 
     &lt;/definition&gt; 
  
     &lt;definition name="invalidUser" extends="common"&gt;
     &lt;put-attribute name="tilte" value="Login Error" /&gt;
     &lt;put-attribute name="contents" value="/relogin.jsp" /&gt;
     &lt;/definition&gt;
  
  &lt;/tiles-definitions&gt;
  </code></pre>
  
  <p>struts.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd"&gt;
  &lt;struts&gt;
  
  &lt;package name="p1" extends="tiles-default"&gt;
  &lt;action name="signin" class="action.LoginAction "&gt;
  &lt;result name="success" type="tiles"&gt;validUser&lt;/result&gt;
  &lt;result name="failure" type="tiles"&gt;invalidUser&lt;/result&gt;
  &lt;/action&gt;
  
  &lt;/package&gt;
  
  &lt;/struts&gt;    
  </code></pre>
  
  <p>this error is occurring while i add struts jar file in my project... earlier it was running without any error..Is there any problem with my strut file. I am using Myeclipse 8.5 and Tomcat server 6.0.
  .</p>