在浏览器访问action中的方法(动态方法调用)

http://localhost:8000/ssh_struts2/hello/HelloWorldAction--->执行的是action中的execute方法
http://localhost:8000/ssh_struts2/hello/HelloWorldAction!add---->执行的是action中的add方法

猜你喜欢

转载自norret.iteye.com/blog/2186126