Posts

Parsing error processing resource path /WEB-INF/struts-config.xml

I am using struts  to develop an apps. I get the following error while trying to load the application. issue 1 :  org.xml.sax.SAXParseException; systemId: jndi:/project/WEB-INF/struts-config.xml;  The end-tag for element type "action" must end with a '>' delimiter. issue 2 :   javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml SOLUTION :-   One thing i know that  parsing error means that Struts couldn't parse one or more of config xml files. From the message, it sounds like the problem is in the  struts-config.xml; After doing long R&D, I found that i have done small mistake while configuring  struts-config.xml; My struts-config.xml :-  <action-mappings>         <action             path="/Welcome" type="*****.Action" scope="request" validate="true">             ...

SOLVED :- java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Exception :-  Please provide me a solution to following error when i try to run Java file which has connections to MYSQL database.  [javax.servlet.ServletException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver] with root cause java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:126) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.jsp.login_jsp._jspService(login_jsp.java:62) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(J...