摘要: 开发Struts 2 自定义标签三步曲: 1.定义标签 public class AddressTag extends ComponentTagSupport { //定义你JSP页面传来的标签设置的属性 private String id; //此方法就是获得一个基本类的Component对象(需自定义生成) @Override public Component getBean(ValueStack valueStack, HttpServletRequest request, HttpServletResponse response) { A... 阅读全文
posted @ 2012-12-06 19:05 NeverGiveUp_ZONE 阅读(254) 评论(0) 推荐(0) 编辑