I got this message in the browser:
[ServletException in:/article/content/menu.jsp] Cannot
retrieve mapping for action /do/editor/Category'
 
The menu.jsp is a tile in my application.  This is my
tile menu.jsp:

<req:isUserInRole role="editor">
<html:form action="/do/editor/Category">
<TR>
<TD class="option">
<html:submit style="font: 10pt sans-serif White;
background:Teal; width:130px; height:30px">View
Articles</html:submit>
</TD>
</TR>
</html:form>
</req:isUserInRole>

If I change the statement that causes the
ServletException to 

<html:form action="editor/Category">

I got 
[ServletException in:/article/content/menu.jsp] Cannot
retrieve definition for form bean null' 

However, I have no problem if menu.jsp is like:

<req:isUserInRole role="editor">
<html:form action="/menu/Find">
<TR>
<TD class="option">
<html:submit style="font: 10pt sans-serif White;
background:Teal; width:130px; height:30px">View
Articles</html:submit>
</TD>
</TR>
</html:form>
</req:isUserInRole>

The /menu/Find in my struts-config.xml is

    <action
        path="/menu/Find"
       
type="org.apache.struts.scaffold.ParameterAction"
        name="menuForm"
        validate="false"
        parameter="keyValue">
        <forward
            name="title"
           
path="/do/find/Property?keyName=title&amp;keyValue="/>
        <forward
            name="author"
           
path="/do/find/Property?keyName=creator&amp;keyValue="/>
        <forward
            name="journal_category"
           
path="/do/find/Property?keyName=journal_category&amp;keyValue="/>
        <forward
            name="content"
           
path="/do/find/Property?keyName=content&amp;keyValue="/>
        <forward
            name="article"
            path="/do/article/View?article="/>
    </action>

And, /editor/Category in my struts-config.xml is like:

    <action 
        path="/editor/Category"
       
type="org.apache.struts.scaffold.ProcessAction"
       
parameter="org.apache.artimus.article.EditorViewAction">
        <forward
            name="success"
            path="/menu/Find"/>
    </action>



__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to