title: JSF/JSP mixing problem
body: <p>In an simple web application I have to combine jsp with jsf (for a school assignment). I am using NetBeans 6.7.1. In my login page I have the following code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
      &lt;form name="form" method="post" action="processuserinfo.jsp" &gt;
          UserName: &lt;input type="text" name = "username" value=""&gt;&lt;br&gt;
          Password: &lt;input type="password" name="userpassword" value=""&gt;&lt;br&gt;
          &lt;input type="submit" name="submit" value="Login"&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>The processuserinfo.jsp:</p>
  
  <pre><code>&lt;%@page import="java.util.*" %&gt;
  &lt;jsp:useBean id="idhandler" class="dsassignment1java.LoginManager" scope="session"&gt;
  &lt;jsp:setProperty name="idhandler" property="*"/&gt;
  &lt;/jsp:useBean&gt;
  &lt;% idhandler.validateUser(session, pageContext); %&gt;
  </code></pre>
  
  <p>However, the method <code>validateUser</code> never gets called. I assume it has something to do with the navigation rules defined in faces-config.xml, but I do not know how to properly set a rule. I've tried to define a rule like this:</p>
  
  <pre><code>&lt;navigation-case&gt;
          &lt;from-outcome&gt;goProcessUserInfo&lt;/from-outcome&gt;
          &lt;to-view-id&gt;/processuserinfo.jsp&lt;/to-view-id&gt;
      &lt;/navigation-case&gt;
  </code></pre>
  
  <p>and specify <code>goProcessUserInfo</code> as the action for my form but it doesn't work.</p>