org.apache.jasper.JasperException: An exception occurred processing JSP pag
843840Feb 4 2008 — edited Jul 13 2010if i add jsp-api.jar to lib the server is throwing Null pointer exception.
if i remove that jar it is giving the above exception what should i have to do
what libraries should i add to get it done
plz help me
i am using apache tomcat 6.0 if i add jsp-api.jar to lib it is saying Null Pointer Exception Null not found
this is the exception i am getting
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /firststrut.jsp at line 14
11: <body>
12: my first struts program
13:
14: <html:form>
15: <html:text property="name" value="Enter Name Here">
16: </html:text>
17:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException: Module 'null' not found.
org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)
org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:735)
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:796)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:467)
org.apache.jsp.firststrut_jsp._jspx_meth_html_005fform_005f0(firststrut_jsp.java:140)
org.apache.jsp.firststrut_jsp._jspx_meth_html_005fhtml_005f0(firststrut_jsp.java:115)
org.apache.jsp.firststrut_jsp._jspService(firststrut_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
Apache Tomcat/6.0.14
the source code is
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
my first struts program
<html:form>
<html:text property="name" value="Enter Name Here">
</html:text>
<html:submit property="submit" value="enter" />
<html:reset property = "reset"/>
</html:form>
</body>
</html:html>
if i add jsp-api.jar to lib the server is throwing Null pointer exception.
if i remove that jar it is giving the above exception what should i have to do
what libraries should i add to get it done
plz help me
thanks