Struts2笔记整理1(动态方法调用及配置)
Action类:public class HelloAction { public String hello(){ System.out.println("hello world!"); return "success"; }}struts.xml:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts PU