Dear all:

Duplicate id or name in spring*.xml file will throw a error exception when i 
launch the web server app(like resin or tomcat server app)

But in  struts2-convention-plugin environment,  all is well, that so puzzle to 
me, why not throw a exception? see the code follow:

one action '/index.do' mapping to two different method
-----------------------------------------------------------------
public class IndexAction extends ActionSupport {

             @Action(value = "index")
             public String A(){System.out.println("A....");}

             @Action(value = "index")
             public String B(){System.out.println("B....");}

}
-----------------------------------------------------------------

When i open the web browser and input the url httpL//127.0.0.1/index.do

The really problem will be appear that is so puzzle. Sometime the console is 
output  A...., But sometime the console is output B....

I  don't know  which action method is mapped to the url.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to