You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ping Cheung Leung <da...@yahoo.com.cn> on 2004/08/23 15:06:23 UTC
how to write struts-config.xml if no action and form?
If a form is to be called with DispatchAction, then I have
to pass <.. parameter="method" ..> in struts-config.xml.
If the form is called from a JSP file and it does not have
an entry in struts-config.xml, what can I do?
Should I an entry for the JSP file in struts-config.xml?
---------------------------------
聊天室、收音機、Games 等多項功能
全新 Yahoo! Messenger
http://messenger.yahoo.com.hk
Re: how to write struts-config.xml if no action and form?
Posted by Bill Siggelkow <bi...@bellsouth.net>.
Can you please clarify what you are asking here? If you mean to go to
the dispatch action from a link then you can added the "method=foo" to
the query string.
Ping Cheung Leung wrote:
> If a form is to be called with DispatchAction, then I have
> to pass <.. parameter="method" ..> in struts-config.xml.
> If the form is called from a JSP file and it does not have
> an entry in struts-config.xml, what can I do?
>
> Should I an entry for the JSP file in struts-config.xml?
>
>
>
> ---------------------------------
> 聊天室、收音機、Games 等多項功能
> 全新 Yahoo! Messenger
> http://messenger.yahoo.com.hk
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org