In my menu.jsp, I have:

<html:form action="/message/ListThreads">
<TR>
    <TD>
      sorted by
      <html:select size="1" property="sort"
value="thread_last_post_date"
onchange="document.forms[4].elements[2].focus()">
      <html:options collection="SORT" property="value"
labelProperty="label"/>
      </html:select>
    </TD>
    <TD>
      in
      <html:select size="1" property="order"
value="DESC"
onchange="document.forms[5].elements[2].focus()">
      <html:options collection="ORDER"
property="value" labelProperty="label"/>
      </html:select>
      order
    </TD>
    <TD class="option">
      <BUTTON TYPE="submit" NAME="submit"
VALUE="submit">View Messages</BUTTON>
    </TD>
</TR>
</html:form>

Then, in my struts-config.xml, I have: 

    <action
        roles="administrator,editor,contributor"
        path="/message/ListThreads"
        type="org.apache.artimus.message.ListThread"
        name="threadForm"
        scope="request"
        validate="false">
       <forward
            name="success"
            path=".thread.Form"/>
    </action>

and

     <form-bean
        name="threadForm"
 
type="org.apache.struts.validator.DynaValidatorForm">
          <form-property
            name="sort"
            type="java.lang.String"/>
          <form-property
            name="order"
            type="java.lang.String"/>
        </form-bean>

.thread.Form is a tile.

Regards,
Caroline 
--- David Friedman <[EMAIL PROTECTED]> wrote:
> How are you trying to execute the forward
> in your action?
> 
> -David
> 
> -----Original Message-----
> From: Caroline Jen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 09, 2004 11:50 PM
> To: Struts Users Mailing List
> Subject: RE: Error Message: Tile path=".thread.Form"
> Does Not Start with
> a "/" Character
> 
> 
> I have successfully displayed many JSPs using tiles
> in
> my application.  This path=".thread.Form" is the
> only
> one gives me this problem.  Therefore, I think the
> tiles plugin is set up properly in my
> struts-config.xml.
> 
> Regards,
> Caroline
> --- David Friedman <[EMAIL PROTECTED]> wrote:
> > Do you have the tiles plugin setup properly in
> your
> > struts-config.xml file?  Or, if you are using a
> > version
> > earlier than V1.1, did you change the controller
> to
> > a
> > Tiles controller?
> > 
> > Regards,
> > David
> > 
> > -----Original Message-----
> > From: Caroline Jen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, June 09, 2004 11:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: Error Message: Tile path=".thread.Form"
> > Does Not Start with a
> > "/" Character
> > 
> > 
> > I am using "tile".  When I try to display a JSP
> > page,
> > I got an error message:
> > 
> > java.lang.IllegalArgumentException: Path
> > .thread.Form
> > does not start with a "/" character
> > 
> > I have no idea where to find this "/" character. 
> I
> > would appreciate if anybody could provide me with
> > some
> > leads.    
> > 
> > In my tiles-defs.xml, I have:
> > 
> > <definition name=".thread.Form" 
> >                              
> > extends=".article.Base">
> >    <put name="title"   value="thread.Form.title"/>
> >    <put name="content" 
> >            
> > value="/article/content/listthreads.jsp"/>
> > </definition>  
> > 
> > and in my struts-config.xml, I have:
> > 
> >     <action
> >         roles="administrator,editor,contributor"
> >         path="/message/ListThreads"
> >        
> type="org.apache.artimus.message.ListThread"
> >         name="threadForm"
> >         scope="request"
> >         validate="false">
> >        <forward
> >             name="success"
> >             path=".thread.Form"/>
> >     </action>
> > 
> > 
> > 
> > 
> >     
> >             
> > __________________________________
> > Do you Yahoo!?
> > Friends.  Fun.  Try the all-new Yahoo! Messenger.
> > http://messenger.yahoo.com/ 
> > 
> >
>
---------------------------------------------------------------------
> > 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]
> > 
> 
> 
> 
>       
>               
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> 
>
---------------------------------------------------------------------
> 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]
> 



        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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

Reply via email to