http://localhost:8000/ssh_struts2/hello/HelloWorldAction--->执行的是action中的execute方法
http://localhost:8000/ssh_struts2/hello/HelloWorldAction!add---->执行的是action中的add方法
在浏览器访问action中的方法(动态方法调用)
猜你喜欢
转载自norret.iteye.com/blog/2186126
今日推荐
周排行