2015年3月18日
摘要: window.location.href还有window.open()。后者是打开新的页面。当提交表单采用ajax提交时,若使用 window.location.href可能不管用。 就可以正常跳转。 location.replace("xx.html"); location.href参数截取: ... 阅读全文
posted @ 2015-03-18 18:29 dobestself_994395 阅读(174) 评论(0) 推荐(0)
摘要: 后台struts2里的action方法里面设置session信息,在jsp里面 取得。引用struts标签:注意标签的使用${sessionScope.user.username} 阅读全文
posted @ 2015-03-18 18:20 dobestself_994395 阅读(137) 评论(0) 推荐(0)