I got the root cause of the problem:
javax.servlet.ServletException: Cannot retrieve
definition for form bean null
I know that I screwed up part of the struts-config.xml
file. Please point out my problem:
In my menu.jsp file, I have
<html:form action="/message/ListThreads">
<TR>
<TD class="option">
<BUTTON TYPE="submit" NAME="submit"
VALUE="submit" STYLE="font: 10pt sans-serif White;
background:#FFCE9C; width:130px; height:30px">View
Messages</BUTTON>
</TD>
<TD nowrap class="option">
sorted by
<html:select size="1" property="dispatch"
onchange="document.forms[4].elements[2].focus()">
<html:options collection="SORT" property="value"
labelProperty="label"/>
</html:select>
</TD>
<TD class="option">
in
<html:select size="1" property="dispatch"
onchange="document.forms[5].elements[2].focus()">
<html:options collection="ORDER"
property="value" labelProperty="label"/>
</html:select>
order
</TD>
</TR>
</html:form>
and in my struts-config.xml, I have:
<action
roles="administrator,editor,contributor"
path="/message/ListThreads"
type="org.apache.struts.scaffold.ProcessAction"
parameter="org.apache.artimus.message.ListThread">
<forward
name="success"
path="/signin/Welcome.jsp"/>
</action>
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]