摘要:
struts2 获取requestHttpServletRequest requet=ServletActionContext.getRequest();requet.getScheme()+"://"+requet.getServerName()+":"+requet.getServerPort()(例如)结果为:http://localhost:8080/request.getHeader("... 阅读全文
posted @ 2010-08-19 15:59 漫天 阅读(6383) 评论(0) 推荐(0) 编辑