title: JSP page won't work :Java.lang.ClassNotFoundException
body: <p><strong>Here is all the code from my register.jsp file</strong></p>
  
  <pre><code>&lt;%@ page language="java" import="java.util.*" pageEncoding="utf-8"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%&gt;
  
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;register&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form action="register.jsp" method="post"&gt;
          account:
          &lt;input type="text" name="user"&gt;&lt;/input&gt;&lt;br&gt;
          password   :
          &lt;input type="password" name="password"&gt;&lt;/input&gt;&lt;br&gt;
          &lt;input type="submit" name = "submit" value = "Submit"&gt;&lt;/input&gt;
          &lt;input type="reset" name = "reset" value = "Reset"&gt;&lt;/input&gt;
      &lt;/form&gt;
  &lt;/body&gt;
      &lt;/html&gt;
  
  &lt;c:set var="user" value = ${param.user } scope = request&gt;&lt;/c:set&gt;
  &lt;c:set var="password" value = ${param.password } scope = request&gt;&lt;/c:set&gt;
  &lt;sql:setDataSource driver="oracle.jdbc.driver.OracleDriver" user="scott"     password="669193"
  url = "jdbc:oracle:thin:@//localhost:1521/orcl"/&gt;
  &lt;sql:query var="query" sql = "select * from users where user =? and password = ?"&gt;
     &lt;sql:param value = ${user }&gt;&lt;/sql:param&gt;
     &lt;sql:param value = ${password }&gt;&lt;/sql:param&gt;
  &lt;/sql:query&gt;
  &lt;c:choose&gt;
  &lt;c:when test="${!empty query.rows}"&gt;
      &lt;jsp:forward page="Hello.jsp"&gt;&lt;/jsp:forward&gt;
  &lt;/c:when&gt;
  &lt;/c:choose&gt;
  </code></pre>
  
  <p>when  I open it, the browser display this error <strong>HTTP Status 500</strong></p>
  
  <p>Any help is really appreciated:) thanks! </p>
  
  <p><strong>Here is stack trace</strong></p>
  
  <blockquote>
    <p>type Exception report</p>
    
    <p>message </p>
    
    <p>description The server encountered an internal error () that prevented it from fulfilling >this request.</p>
    
    <p>exception </p>
    
    <p>org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class >for JSP
      org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</p>
    
    <p>root cause </p>
    
    <p>org.apache.jasper.JasperException: Unable to load class for JSP
      org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:600)
      org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</p>
    
    <p>root cause </p>
    
    <p>java.lang.ClassNotFoundException: org.apache.jsp.register_jsp
      java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      java.security.AccessController.doPrivileged(Native Method)
      java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
      org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
      org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:598)
      org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)</p>
  </blockquote>