Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

An exception occurred processing JSP page /Home.jsp

org.apache.jasper.JasperException: An exception occurred processing JSP page /Home.jsp at line 20

17: String sql = "select usertype from user_detail";
18: 
19: try{
20: 	Class.forName(driverName);
21: 	con = DriverManager.getConnection(url, user, password);
22: 	ps = con.prepareStatement(sql);
23: 	rs = ps.executeQuery(); 


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:578)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:461)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Comment

PREVIOUS NEXT
Code Example
Java :: about action Listioner in java Swing 
Java :: pattern exercises for java 
Java :: set integer array value to null java 
Java :: more parameters java sql @PathVariable 
Java :: EXPECTTIONS JAVA 
Java :: computeifabsent hashmap java 
Java :: java application security best practices 
Java :: java catch stop signal 
Java :: change order of words in string java 
Java :: OCA Exam Questions 
Java :: mapToJsonString 
Java :: firebase persistence enable android 
Java :: set jtextfield max length 
Java :: [ERROR] Error executing Maven. java.io.FileNotFoundException: The specified user settings file does not exist: /usr/lib/jvm/java-1.8.0-openjdk-amd64 
Java :: hwo to calculate cuberoot of numbers in java 
Java :: BasicAWSCredentials 
Java :: bigint is built in object 
Java :: nbubble sort java 
Java :: getdatetimeinstance android 
Java :: ujava saum of positive integers 
Java :: java file reader construct input 
Java :: do you have to implement all methods of an interface java 
Java :: @expose(serialize = false) not working 
Java :: Calling the Pre-Defined Method in Java 
Java :: exception(string message throwable cause) 
Java :: java get the closest pair to a given sum in two arrays 
Java :: java list to jsonelement 
Java :: deps-jar 
Java :: Returning methods 
Java :: sudo visudo quit without saving 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =