Search the Community
Showing results for tags 'Jsp'.
-
this is code of dbconnection.java file which is inside my javaee webapplicataion my web application is hosted on heliohost package Database; import java.sql.Connection; import java.sql.DriverManager; public class DbConnection { public static Connection getconnection() { Connection con=null; try { Class.forName("com.mysql.jdbc.Driver");//load the driver //Create the connection //Connection is an interface //Drivermanager is a class and getConnetcion()is a static metod of DriverManager class whose return type is Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/yo52674_wp678"+"?verifyServerCertificate=false&useSSL=false&autoReconnect=true&useUnicode=true&characterEncoding=utf8","yo52674_R","<removed>"); } catch(Exception e){ System.out.println(e); } return con; //return the connection } } my web application is trying to connect heliohost mysql database but it can only connect and perform queries when my heliohost phpmyadmin page is open after when i close php my admin it gives me error e Exception Report Message An exception occurred processing JSP page [/userregact.jsp] at line [17] Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception org.apache.jasper.JasperException: An exception occurred processing JSP page [/userregact.jsp] at line [17] 14: //String feedback = request.getParameter("feedback"); 15: Connection getconnection = DbConnection.getconnection(); 16: //String sql=; 17: PreparedStatement st = getconnection.prepareStatement("insert into user values(?,?,?,?)"); 18: 19: st.setString(1,username); 20: st.setString(2,password); Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) Root Cause java.lang.NullPointerException org.apache.jsp.userregact_jsp._jspService(userregact_jsp.java:147) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) Note The full stack trace of the root cause is available in the server logs. Apache Tomcat/8.5.24 this is code of dbconnection.java file
- 10 replies
-
I have uploaded my war file and now want to deploy it. Username: tonububt war filename: WebApplication1
-
[Solved] Request to Deploy my .WAR file to Admin
Deveshsingh226 posted a topic in Escalated Requests
Hello Admin, I want you to delpoy my VASD.WAR file. thanks in advance. Username- demigod3 File is uploaded through File Manger in cPanel. -
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: - user: bfpsw - file: JAW.war - server: Johnny. Thanks
-
Hi. Please deploy my web app: - user: bfpsw - file: JAW.war - server: Johnny. Thanks and happy Easter
-
Hi. Please deploy my web app: - user: bfpsw - file: JAW.war - server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Username: -vivek.ks I want to know that is java hosting in heliohost supports the hibernate framework hai its classes. ? and the simple java Bean classes. ??
- 5 replies
-
- JSP
- hosting hibernate
-
(and 2 more)
Tagged with:
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: bfpsw_JAW.war server: Johnny. Thanks
-
Hello Please deploy my web app: user: zuchboy file: war_installer/soropis_war_helio.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
hii I need help to deploy my war file onto my account Please help me asap. Thank you My Details: Username : rajbits Server : johnny War file Name : ShopperSquare.war Thank you again
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: Johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: johnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: hohnny. Thanks
-
Hi. Please deploy my web app: user: bfpsw file: JAW.war server: johnny. Thanks