hi to all, i am using tomcat apache server with struts . problem is that my jsp page throwing me an errors that bean is not foound ... my jsp code is ... <logic:iterate id="employee" name="employees" type="com.cybage.DBDAO"> <tr align="left"> <td> <a href = "detailProfile.jsp"> <bean:write name="employee" property="username" /></a> </td> <td> <bean:write name="employee" property="id" /> </td> <td> <a href="Edit.do?username=<bean:write name="employee" property="username" />">Edit</a> <a href="Delete.do?username=<bean:write name="employee" property="username" />">Delete</a> </td> </tr> </logic:iterate>
where employees is my Arraylist name..... while processing it will give an errors as .... 11/19 10:28:03 error Unhandled exception thrown from /employeelist.jsp:41 [1]javax.servlet.jsp.JspException: Cannot find bean employees in any scope at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938) at org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java: 277) at jrun__employeelist2ejsp11._jspService(jrun__employeelist2ejsp11.java: 146) at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43) at jrun.jsp.JSPServlet.service(JSPServlet.java:119) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java: 249) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java: 527) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo l.java:349) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j ava:457) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool. java:295) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) [0]jrun.jsp.runtime.UncaughtPageException: Unhandled exception thrown from /empl oyeelist.jsp:41 at jrun.jsp.runtime.Utils.handleException(Utils.java:57) at jrun.jsp.runtime.JRunPageContext.handlePageException(JRunPageContext. java:384) at jrun__employeelist2ejsp11._jspService(jrun__employeelist2ejsp11.java: 242) at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43) at jrun.jsp.JSPServlet.service(JSPServlet.java:119) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java: 249) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java: 527) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo l.java:349) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j ava:457) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool. java:295) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) please help where am idoing wrong... thanks in advance ....... Regards Nishant Patil Software Engineer Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company) West Avenue, Kalyaninagar Pune - 411006 Ph. +91-20-4044700/4041700 Extn 355 [EMAIL PROTECTED] www.cybage.com "There is difference between knowing the Path and walking on the Path"