You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sgupta4686 <su...@infosys.com> on 2010/03/05 08:44:08 UTC

Re: WARNING: No configuration found for the specified action:

Hi , 
 I am getting the following log in geronimo for few action classes only :
Geronimo log shows:
2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the specified
action: 'SubmitSearchText.action' in namespace: '/text'. Form action
defaulting to 'action' attribute's literal value.

Following is struts.xml :
	<package name="text" namespace="/text" extends="default" >
         <action name="*SearchText" method="{1}"             
class="com.presentation.action.SearchAction">
			text
			<result>/WEB-INF/jsp/search/search.jsp</result>
			<result name="input">/WEB-INF/jsp/search/search.jsp</result>
			<result name="searchresults" type="redirect-action">ResultsText</result>
		</action>
</package>

Following is the form set in jsp:
<s:form method="post" id="mainForm" action="SubmitSearchText.action"
namespace="/text">

Kindly help me to remove the warnings from the server log.

Thanks,
SGupta

-- 
View this message in context: http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790799.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: WARNING: No configuration found for the specified action:

Posted by sgupta4686 <su...@infosys.com>.


sgupta4686 wrote:
> 
> Hi , 
>  I am getting the following log in geronimo for few action classes only :
> Geronimo log shows:
> 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the
> specified action: 'SubmitSearchText.action' in namespace: '/text'. Form
> action defaulting to 'action' attribute's literal value.
> 
> Following is struts.xml :
> 	<package name="text" namespace="/text" extends="default" >
>          <action name="*SearchText" method="{1}"             
> class="com.presentation.action.SearchAction">
> 			text
> 			<result>/WEB-INF/jsp/search/search.jsp</result>
> 			<result name="input">/WEB-INF/jsp/search/search.jsp</result>
> 			<result name="searchresults"
> type="redirect-action">ResultsText</result>
> 		</action>
> </package>
> 
> Following is the form set in jsp:
> <s:form method="post" id="mainForm" action="SubmitSearchText.action"
> namespace="/text">
> 
> Kindly help me to remove the warnings from the server log.
> 
> Thanks,
> SGupta
> 
> 

-- 
View this message in context: http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790806.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: WARNING: No configuration found for the specified action:

Posted by sgupta4686 <su...@infosys.com>.
Thanks a lot. This is working.

mccorby wrote:
> 
> Remove ".action" from <s:form method="post" id="mainForm"
> action="SubmitSearchText.action"
> 
> That should make it
> 
> On Fri, Mar 5, 2010 at 2:44 PM, sgupta4686
> <su...@infosys.com>wrote:
> 
>>
>> Hi ,
>>  I am getting the following log in geronimo for few action classes only :
>> Geronimo log shows:
>> 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the
>> specified
>> action: 'SubmitSearchText.action' in namespace: '/text'. Form action
>> defaulting to 'action' attribute's literal value.
>>
>> Following is struts.xml :
>>        <package name="text" namespace="/text" extends="default" >
>>         <action name="*SearchText" method="{1}"
>> class="com.presentation.action.SearchAction">
>>                        text
>>                        <result>/WEB-INF/jsp/search/search.jsp</result>
>>                        <result
>> name="input">/WEB-INF/jsp/search/search.jsp</result>
>>                        <result name="searchresults"
>> type="redirect-action">ResultsText</result>
>>                </action>
>> </package>
>>
>> Following is the form set in jsp:
>> <s:form method="post" id="mainForm" action="SubmitSearchText.action"
>> namespace="/text">
>>
>> Kindly help me to remove the warnings from the server log.
>>
>> Thanks,
>> SGupta
>>
>> --
>> View this message in context:
>> http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790799.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790863.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: WARNING: No configuration found for the specified action:

Posted by "Jose A. Corbacho" <mc...@gmail.com>.
Remove ".action" from <s:form method="post" id="mainForm"
action="SubmitSearchText.action"

That should make it

On Fri, Mar 5, 2010 at 2:44 PM, sgupta4686 <su...@infosys.com>wrote:

>
> Hi ,
>  I am getting the following log in geronimo for few action classes only :
> Geronimo log shows:
> 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the
> specified
> action: 'SubmitSearchText.action' in namespace: '/text'. Form action
> defaulting to 'action' attribute's literal value.
>
> Following is struts.xml :
>        <package name="text" namespace="/text" extends="default" >
>         <action name="*SearchText" method="{1}"
> class="com.presentation.action.SearchAction">
>                        text
>                        <result>/WEB-INF/jsp/search/search.jsp</result>
>                        <result
> name="input">/WEB-INF/jsp/search/search.jsp</result>
>                        <result name="searchresults"
> type="redirect-action">ResultsText</result>
>                </action>
> </package>
>
> Following is the form set in jsp:
> <s:form method="post" id="mainForm" action="SubmitSearchText.action"
> namespace="/text">
>
> Kindly help me to remove the warnings from the server log.
>
> Thanks,
> SGupta
>
> --
> View this message in context:
> http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790799.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>