here is the jsp file that gave the error, you will see that i did not use any such tags. the rowSet bean is a requst attribute of type RowSetDynaClass set by an Action class before forwarding to this jsp. this page is supposed to display the table captured in the RowSetDynaClass.


<html:text property="table"/> <html:submit value="click"/> </html:form>

<br> <bean:write name="rowSet" property="dynaProperties"/><br>


<h2>Data Base Table</h2>
<bean:define id="cols" name="rowSet" property="dynaProperties"/>
<table border="2">
<tr>
<logic:iterate id="col" name="cols">
<th><bean:write name="col" property="name"/></th>
</logic:iterate>
</tr>
<logic:iterate id="row" name="rowSet" property="rows">
<tr>
<logic:iterate id="col" name="cols">
<td>
<bean:write name="row" property="<%=((DynaProperty)col).getName()%>"/>
</td>
</logic:iterate>
</tr>
</logic:iterate>
</table>


</body>
</html>

----- Original Message ----- From: "Bill Siggelkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 2004 3:53 PM
Subject: Re: unknown error message



Well, it looks like you are using a tag (bean:message) that is trying to pull a value from the message resources property file.

-Bill Siggelkow

Olasoji Ajayi wrote:

javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE


what does this mean, i am just writing a simple program to display the contents of a table in a database using struts (using it ti learn struts), i am not writing any complicates stuff, no resource bundles, internationalizations or things like that, just a form that will display the result and the class tha will fettch the table and give it to the Action that sends it to the form


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