方法:
public String execute() throws Exception {
String str="xxoohuai";
}
配置struts.xml
<action name="BaseInfo" class="controller.hosp.BaseInfoAction">
ok~~~~~~~~!
补充:实习后发觉这样更简单
getResponse().getWriter().write("your output String");
struts.xml配置连result标签都不用写了
- (2010-03-11 17:43:05)
- (2010-03-05 10:20:48)
- (2010-02-23 12:19:52)
- (2010-01-27 14:07:17)
- (2009-12-23 10:46:47)
- (2009-09-04 10:03:46)