You can try this..
<logic:iterate name="yourActionFormName" id="bean" type="...." >
<bean:write name="bean" property="value" />
</logic:iterate>

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten
Sent: Sunday, October 12, 2003 6:10 AM
To: [EMAIL PROTECTED]
Subject: <bean:write .. /> needs resources!?


Hi. Running Tomcat 4.0.6 w. Struts 1.1. I have some JSP like the
following:

<logic:iterate collection="<%=dao.getItems()%>" id="bean" type="...">
   <bean:write name="bean" property="value"/><br/>
</logic:iterate>

When I try to execute this, I get:

javax.servlet.ServletException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
     at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:471)

...

Why? If I comment out the bean:write, it runs fine. I have no need
of configuring resources (and thus none are present in my struts config
file).

Any way I can fool the WriteTag to not go alooking for resource
bundles? :)

Morten




---------------------------------------------------------------------
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]

Reply via email to