自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (8)
  • 收藏
  • 关注

转载 java.lang.NoSuchMethodError: com.opensymphony.xwork2.util.ValueStack.findValue(Ljava/

分类: Web开发 2011-08-29 16:43 469人阅读 评论(2)收藏 举报我在jsp页面可以${user.VUserName}这样取到值,就是用sturts2标签时报错。struts2-core-2.1.8.1.jar,而 xwork -core用 xwork-2.1.2.jar。有可能不兼容。建议你用struts2-core-2.1.8.jar 和

2013-01-03 16:34:29 1218

转载 重新安装MYSQL出现1045错误的解决

原文地址:http://blog.163.com/qing_tian_jun@yeah/blog/static/83466542201041801059463/     重新安装MYSQL,但是装到最后总是报错1045错误。如图:到网上搜了很多,有很多的处理方法,但对于我这个没有好使的,网上说这个是因为MYSQL中的ROOT密码为空,想了想,觉得不是这样的,因为在第

2012-12-17 16:45:07 623

原创 This is usually caused by using Struts tags without the associated filter

异常信息:The Struts dispatcher cannot be found.  This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filt

2012-08-17 10:02:36 7210 2

原创 tomcat部署之后 本机访问本地部署的网站打开一个页面非常慢

tomcat部署之后 本机访问本地部署的网站打开一个页面非常慢。有时甚至会造成页面空白或直接卡死。 解决方法:是连接池出的问题。改用c3p0连接池。 原applicationContext.xml中数据库连接语句,用的是org.apache.commons.dbcp.BasicDataSource:  class="org.apache.commons.dbcp.Basic

2012-08-05 21:54:38 10989

原创 jsp页面中<a> 标签中的target=_blank是什么意思?

问题;jsp页面中 标签中的target=_blank是什么意思?解答:表示该连接在新窗口中打开  另拓:_self相同框架 _top整页 _blank新建一个窗口 _parent父窗口 其它的就是自定义了,可以指向已有的窗口名称

2012-08-04 17:00:30 15019

原创 could not resolve property: qid of: org.lxh.myzngt.vo.Answer

错误信息:org.hibernate.QueryException: could not resolve property: qid of: org.lxh.myzngt.vo.Answer [SELECT COUNT(q.qid) FROM org.lxh.myzngt.vo.Question AS q WHERE q.qid IN (SELECT a.qid FROM org.lxh.

2012-08-04 10:29:19 1255

原创 Attribute value request.getAttribute("keyWord") is quoted with " which must be escaped when used wit

错误行的代码:" /> 错误信息:Attribute value request.getAttribute(\"keyWord") is quoted with " which must be escaped when used within the value 解决方案:①有可能是TOMCAT的版本问题。                    ②按照错误的提示,进行了字符

2012-08-02 10:59:15 1026

原创 Expecting "jsp:param" standard action with "name" and "value" attribu

jsp页面如下: 列出个人具体信息  错误信息:严重: Servlet.service() for servlet jsp threw exceptionorg.apache.jasper.JasperException: /jsp/user/userinfo.jsp(16,64) Expecting "jsp:param" standard actio

2012-08-02 09:55:13 1730

原创 The type net.sf.hibernate.Session cannot be resolved.

package org.lxh.myzngt.dao.impl;import org.lxh.myzngt.dao.IAnswerDAO;import org.lxh.myzngt.vo.Answer;import org.springframework.orm.hibernate.support.HibernateDaoSupport;public class IAnswerDA

2012-07-30 11:29:43 3703

原创 java 正则表达式\\d什么意思

String str=1+2;String[] temp = str.split(\\D);  解答:\\d正则表达式是非数字的意思以非数字分割字符串str,将所得结果存档到temp字符串数组中。\\d*表示有多位数字。比如在验证的form中就常用到if (!this.integral.matches("\\d*")) {     errors.add("integ

2012-07-26 20:18:32 22163 1

原创 MYSQL常用命令

1、如果你打命令时,回车后发现忘记加分号,你无须重打一遍命令,只要打个分号回车就可以了。也就是说你可以把一个完整的命令分成几行来打,完后用分号作结束标志就OK。  2、你可以使用光标上下键调出以前的命令。但以前我用过的一个MYSQL旧版本不支持。我现在用的是mysql-3.23.27-beta-win。   二、显示命令   1、显示数据库列表。   show databases;

2012-07-26 10:13:12 421

原创 为什么存在mysql中的某一列的值全是MEMO

为什么存在mysql中的某一列的值全是MEMO ??? 解答:使用的是MySQL-Front,对于多行文本显示mysql-front都是memo,跟数据库服务器无关。点击MEMO行,在下方就能看到里面的内容或者使用mysql命令直接在控制台可以查看数据。

2012-07-26 10:11:54 11783 1

转载 MyEclipse 快捷键

Ctrl+1 快速修复(最经典的快捷键,就不用多说了) Ctrl+D: 删除当前行   Ctrl+Alt+↓ 复制当前行到下一行(复制增加) Ctrl+Alt+↑ 复制当前行到上一行(复制增加) Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了) Alt+↑ 当前行和上面一行交互位置(同上) Alt+← 前一个编辑的页面 Alt+→ 下一个编辑的

2012-07-25 10:58:12 443

原创 org.hibernate.exception.GenericJDBCException: Cannot open connection

异常:org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exce

2012-07-23 21:25:13 1018

原创 request.getSession().setAttribute(string, int);问题

request.getSession().setAttribute(string, int);问题public ActionForward inserttousu(ActionMapping mapping, ActionForm form,   HttpServletRequest request, HttpServletResponse response)   throws E

2012-07-23 20:24:38 1143

转载 异常:getOutputStream() has already been called for this response 的解决方法 .

http://hi.baidu.com/sihillver/blog/item/d384621e5612cdf01bd57630.html 严重: Servlet.service() for servlet jsp threw exception    java.lang.IllegalStateException: getOutputStream() has already been

2012-07-23 20:22:25 1066

struts2验证框架

struts2验证框架struts2验证框架

2012-07-25

多级联动下拉选择框

多级联动下拉选择框

2012-07-25

JAVA环境变量

设置JAVA环境变量设置JAVA环境变量设置

2012-07-25

struts2的几个包

struts2的几个jar包

2012-07-24

数据库驱动包

数据库驱动包

2012-07-24

毕业论文题目汇总

毕业论文题目汇总

2012-07-23

验证码代码小控件

验证码代码小控件

2012-07-22

MD5加密

多数支付网关使用的都是标准的MD5加密,但也有特殊的加密方式。其它的如财付通、云网、网银在线、NPS、快钱、贺喜等支付平台都可以使用标准的MD5.

2012-07-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除