You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by red phoenix <ro...@gmail.com> on 2007/11/20 15:58:15 UTC

Warn: No configuration found for the specified action under struts2.0.11

I have some configure,and it runs well under struts2.0.9,but it raise
warning under struts2.0.11,my files are follows:

/*struts.xml*/
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
  <constant name="struts.enable.DynamicMethodInvocation" value="false" />
  <include file="test.xml"/>
</struts>

/*test.xml*/
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
        "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
  <package name="test" namespace="/test" extends="struts-default">
    <action name="testing" class="test.testing" method="show">
         <result name="t1">/t1.jsp</result>
         <result name="t2">/t2.jsp</result>
   </action>
  </package>
</struts>

/*Struts.properties*/
struts.i18n.reload=true
struts.devMode=true
struts.configuration.xml.reload=true
struts.action.extension=pl

Warn: No configuration found for the specified action: 'testing.pl' in
namespace:
'/test'. Form action defaulting to 'action' attribute's literal value.

I am puzzled with it for several days! Anyone could tell me how to
correct above code to get rid of warning?
Thanks!

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