description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /course_list1_model2.jsp(5,0) The value for the useBean class attribute INCLUDES.DBConnection is invalid.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: /course_list1_model2.jsp(5,0) The value for the useBean class attribute INCLUDES.DBConnection is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1174)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Generator.generate(Generator.java:3305)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Do you really want to do Java programming in the JSP page? This is really not done anymore. There should be no Java code in there at all. Instead, you should place all the application logic in (or behind) the Servlet and use the JSP as a view device only (to gather user input and display results). Trying to write application code in a JSP page is going to complicate your life. This article will help: http://www.javaranch.com/journal/200603/Journal200603.jsp#a5
Now, as to your problem, the error says: "The value for the useBean class attribute INCLUDES.DBConnection is invalid."
Do you really have a class named DBConnection in the INCLUDES package? That does not sound like a reasonable package name. Perhaps you can provide the directory structure of your application, so we can see where everything is located? Make sure you UseCodeTags, then just do it like this:
Edit: And please go back and Edit your original post to add in the code tags
Also, please see IsolateTheProblem: Try to find the minimal number of lines that still show your problem. If you can reduce the code you need to show to 10 lines, many more people will be willing to take a look at it. In this example, all or most of the HTML you've posted isn't related, and serves only to obfuscate the real issue.