getRequestDispatcher(.).forward(req,res) throws java.io.FileNotFoundException
<p>I have upgraded my Servlet from 2.4 to 3.0 and deployed my application on Websphere 8.5.5.8. Application Server starts properly.
When I try to access my <code>home.jsp</code> page in browser it throws:</p>

<blockquote>
  <p>Controller Main Error OG1000SRVE0190E: File not found: /servlet/com.platform7.affina.operations.servlet.ValidateLoginUser</p>
</blockquote>

<p>When I try to debug, code hits my Main Controller Servlet (which is in same package) but inside Controller servlet class I am calling:</p>

<pre><code>this.getServletContext().getRequestDispatcher("Servlet/com.platform7.affina.operations.servlet.ValidateLoginUser").forward(request, response);
</code></pre>

<p>Which throws:</p>

<blockquote>
  <p>FileNotFoundException for  Servlet/com.platform7.affina.operations.servlet.ValidateLoginUser. </p>
</blockquote>

<p>But <code>ValidateLoginUser</code> is in the same package and classes folder location!</p>

<p>Folder structure:</p>

<pre><code>\NEED4SPEEDCell02\operations_1.ear\OperationsWeb.war\WEB-INF\classes\com\platform7\affina\operations\servlet
</code></pre>

<p><code>ControllerMain.class</code> and <code>ValidateLoginUser.class</code> are in same servlet package.</p>

<p>my <code>Web.xml</code> file:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;servlet&gt;
    &lt;servlet-name&gt;servletMain&lt;/servlet-name&gt;
    &lt;servlet-class&gt;com.platform7.affina.operations.servlet.ControllerMain&lt;/servlet-class&gt;
    &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
&lt;/servlet&gt;

&lt;servlet-mapping&gt;
    &lt;servlet-name&gt;servletMain&lt;/servlet-name&gt;
    &lt;url-pattern&gt;/controllerMain&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;
</code></pre>

<p>So when I access my URL: it hits <code>ControllerMain.class</code> but inside this class I am calling another servlet which is not part of <code>web.xml</code> but is located in same package of <code>ControllerMain.class</code>.</p>

<p>When I print realpath: <code>this.getServletContext().getRealPath("/"));</code></p>

<p>I get:</p>

<blockquote>
  <p>C:\WebSphere858\AppServer\profiles\AppSrv01\installedApps\NEED4SPEEDCell02\operations_1.ear\OperationsWeb.war</p>
</blockquote>

<p>I tried using <code>getNamedDispatcher(..)</code> too but throws: <code>null</code>.</p>

<p><strong>Same code works fine on Websphere 7 and even works on Websphere 8.5.5.5</strong></p>