Cause that's what it seems to indicate. I think you just need to do a little checking on your side to see if it's there, you should be ok
from the looks of what you are doing.
Nishant wrote:
employees is just a plain collection Arraylist ....
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"
----- Original Message ----- From: "Peng Tuck" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, November 19, 2004 10:49 AM
Subject: Re: bean not found problem
....Nishant , Is there such a bean called employees exposed in any scope (since you didn't specify any scope) ? If so <logic:iterate> will fail. Can you tell us if it's a bean with a collection you want to retrieve or is employees just a plain old collection ?
Nishant wrote:
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
property="username" /></a>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"
scope</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
org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938)at
org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:at
jrun__employeelist2ejsp11._jspService(jrun__employeelist2ejsp11.java:277)
at
jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)146)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)at jrun.jsp.JSPServlet.service(JSPServlet.java:119)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:249)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)527)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPooat
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.jl.java:349)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.ava:457)
at
from /empljava:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
[0]jrun.jsp.runtime.UncaughtPageException: Unhandled exception thrown
jrun.jsp.runtime.JRunPageContext.handlePageException(JRunPageContext.oyeelist.jsp:41
at jrun.jsp.runtime.Utils.handleException(Utils.java:57)
at
jrun__employeelist2ejsp11._jspService(jrun__employeelist2ejsp11.java:java:384)
at
jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)242)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)at jrun.jsp.JSPServlet.service(JSPServlet.java:119)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:249)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)527)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPooat
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.jl.java:349)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.ava:457)
at
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"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]