I am getting this exception when i am run my jsp. Please help how to
solve this. I am including my JSP code also.
type Exception report
message
description The server encountered an internal error () that
prevented it from fulfilling this request.
exception
javax.servlet.ServletException:
org/apache/commons/lang/UnhandledException
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.cj.sessexpire.SessionExpireFilter.doFilter(Unknown Source)
root cause
java.lang.NoClassDefFoundError:
org/apache/commons/lang/UnhandledException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
java.lang.Class.getConstructor0(Class.java:1762)
java.lang.Class.newInstance0(Class.java:276)
java.lang.Class.newInstance(Class.java:259)
java.beans.Introspector.instantiate(Introspector.java:1278)
java.beans.Introspector.findExplicitBeanInfo(Introspector.java:393)
java.beans.Introspector.<init>(Introspector.java:342)
java.beans.Introspector.getBeanInfo(Introspector.java:144)
org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3673)
org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2092)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1573)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) &nbs p;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.cj.sessexpire.SessionExpireFilter.doFilter(Unknown Source)
JSP Code:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>Time and Date Report</title>
<style>
th a:link { text-decoration: none; color: black }
th a:visited { text-decoration: none; color: black }
.rows { background-color: white }
.hiliterows { background-color: #716F64; color: white;
font-weight: bold }
.alternaterows { background-color: #F0EFE8 }
.header { background-color: #ECE9D8; border-right: 1px
solid #C7C5B2; border-left: 1px solid white; border-bottom: 3px solid
#D6D2C2; border-top: 1px solid white; font-weight: normal }
.footer { background-color: #ECE9D8; border-right: 1px
solid #C7C5B2; border-left: 1px solid white; border-bottom: 2px solid
#E2DECD; border-top: 1px solid white }
.datagrid { border: 1px solid #C7C5B2; font-family: arial;
font-size: 9pt; font-weight: normal }
</style>
<style type="text/css">
body{
font-family: Verdana;
font-size: 10px;
color: #004F00;
}
</style>
<Link href="" rel="stylesheet" type="text/css">
</head>
<%@ page contentType="text/html"%>
&l t;%@ page import="java.util.ArrayList,
org.apache.taglibs.datagrid.DataGridParameters,org.displaytag.tags.* "
%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/datagrid-1.0"
prefix="ui" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<jsp:useBean id="progressentry" scope="session"
class="beans.ProgressEntry"/>
<%
String path = request.getContextPath();
String colonyid = request.getParameter("colonys");
progressentry.setColony(colonyid);
ArrayList userList = (ArrayList) progressentry.getColony();
request.setAttribute ("userList",userList);
request.setAttribute ("path",path);
%>
<body>
<jsp:include page="../Title.jsp"/>
<center>
<h3>Time and Date Report</h3>
</center>
<H4></H4>
<H4>As On Date: <%=new java.util.Date().toLocaleString()%></H4>
<center>
<display:table name="userList" export="true" sort="list" pagesize="8">
<display:column property="${time.colonyname}" title="Colony Name"
group="1" sortable="true" headerClass="sortable" />
<display:column property="${time.username}" title="User Name" group="2"
sortable="true" headerClass="sortable" />
<display:column property="${time.entrydate}" title="Entry Date" />
<display:column property="${time.progressentrydate}" title="Modified
On" />
</display:table>
</center>
</body>
</html>
The useList contains collection of beans ( time bean). So i am
accessing those values using EL $(time.xxx)
Please help to sovle this...
yours
Brahma
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

