When I run this JSP, I get a HTTP 500 error page:

QuestionsCategory: javaWhen I run this JSP, I get a HTTP 500 error page:
Softwareteam asked 9 months ago
An exception occurred processing JSP page:

org

.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 35

32:         String url1="";
33:         if(name!="")
34:         {
35:         if(name.startsWith("315")){
36:             query="select pass from s1 where regno='"+name+"'";
37:             url1="marks.jsp";
38:         }


Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)