摘要: 1、编写一个实现tag接口的java类,并覆盖其doStarttag方法public class ViewIpTag implements Tag {private PageContext pagecontext;public void setPageContext(PageContext arg0) {this.pagecontext = arg0;}public int doStartTag() throws JspException {HttpServletRequest request = (HttpServletRequest) this.pagecontext.getRequest 阅读全文
posted @ 2011-05-22 11:47 情定诺坎普 阅读(203) 评论(0) 推荐(0) 编辑