白鹭西天

一个懂点代码的产品经理

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2011年10月20日

摘要: private String returnJSP;public void setReturnJSP(String returnJSP) {this.returnJSP = returnJSP;}public String getReturnJSP() {return returnJSP;}<result name="JSP">/${returnJSP}.jsp</result> 阅读全文
posted @ 2011-10-20 15:55 Michael John 阅读(930) 评论(0) 推荐(0)

2011年10月10日

摘要: 建表时 product_type hibernate自动生成表对象为ProductType 阅读全文
posted @ 2011-10-10 22:09 Michael John 阅读(131) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2011-10-10 22:07 Michael John 阅读(137) 评论(0) 推荐(0)

2011年8月16日

摘要: request.setAttribute("req", "request scope");request.getSession().setAttribute("sess", "session scope");request.getSession().getServletContext().setAttribute("app","aplication scope");<s:property value="#request.req" /><s 阅读全文
posted @ 2011-08-16 18:07 Michael John 阅读(208) 评论(0) 推荐(0)

摘要: 1.request对象客户端的请求信息被封装在request对象中,通过它才能了解到客户的需求,然后做出响应。它是HttpServletRequest类的实例。 2.session对象session对象指的是客户端与服务器的一次会话,从客户连到服务器的一个WebApplication开始,直到客户端与服务器断开连接为止。它是HttpSession类的实例3.pageContext对象pageContext对象提供了对JSP页面内所有的对象及名字空间的访问,也就是说他可以访问到本页所在的SESSION,也可以取本页面所在的application的某一属性值,他相当于页面中所有功能的集大成者,它的 阅读全文
posted @ 2011-08-16 17:29 Michael John 阅读(2173) 评论(0) 推荐(1)

2011年8月12日

摘要: 试过许多次都未解决,在百度找到答案。第一步,请打开“开始”菜单,找到“运行”第二步,在“运行”里面输入%appdata%/SogouExplorer/FavIcon,回车 (包括百分号) 第三步,找到目录,双击进入 里面就是ico缓存 阅读全文
posted @ 2011-08-12 17:26 Michael John 阅读(330) 评论(0) 推荐(0)

摘要: <button hidefocus="true">登 录</button> 阅读全文
posted @ 2011-08-12 14:04 Michael John 阅读(140) 评论(0) 推荐(0)

摘要: vertical-align:bottom; 阅读全文
posted @ 2011-08-12 13:52 Michael John 阅读(537) 评论(0) 推荐(0)

摘要: google 原样式.btn_gl{ background-image:-ms-linear-gradient(top,#f5f5f5,#f1f1f1); filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#f5f5f5',EndColorStr='#f1f1f1'); background-color:#f5f5f5; background-image:linear-gradient(top,#f5f5f5,#f1f1f1); background-image:-o-linear- 阅读全文
posted @ 2011-08-12 00:16 Michael John 阅读(674) 评论(0) 推荐(1)

2011年8月11日

摘要: 用作工具栏,可添加代码<body topmargin="0px;" leftmargin="0px;" rightmargin="0px;"> 搞定~ 阅读全文
posted @ 2011-08-11 15:16 Michael John 阅读(275) 评论(0) 推荐(0)