- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 sql语句在plsql窗口执行只需花费不到一秒的时间,但是跑程序的时候会导致事务回滚。查看实际执行计划
sql语句在plsql窗口执行只需花费不到一秒的时间,但是跑程序的时候会导致事务回滚。 可能原因是:sql语句真正的执行计划未走索引,全表扫描,导致执行时间较长。 解决办法: 一.查看sql语句在数据库的实际执行计划 在命令窗口执行: 1.sql Eg:SELECT name FROM student WHERE id = '201302564895'; 2.select sq...
2019-03-06 14:52:02
1100
原创 eclipse中的buidpath配置(工程不build)
可能缺少的配置: 右击工程→找到 build path→configure buid path→Libraries→Add Vairable→Configure Vairable→new按钮 配置 name: tomcat;path: 选择folder 找到tomcat中的lib文件夹选择→点击ok 成功后回到→new vairable classpath entry 界面 找到配置的tomca...
2018-11-16 20:33:38
341
原创 webService总结
webService技术简介: webService是一种跨操作系统平台和跨编程语言的web服务远程调用技术。 webService的三要素: 1.SOAP(Simple Object Access Protocol )简单对象访问协议 描述传递信息的格式。 基于HTTP和XML 2.WSDL (WebServices Description Lan...
2018-08-14 22:08:24
254
原创 如何对应用中action中的方法进行校验(代码方式)
一.对所有方法进行校验1.action继承ActionSuppor类,重写validate方法。public class personAction extends ActionSupport{ /**通过代码方式对所有action进行校验 * test:对电话号码进行有效性校验*/ private String telephone; private String message; ...
2018-05-08 21:47:52
330
原创 HTTP Status 404 - No result defined for action com.action.personAction and result input
struts2中进行有效性校验时练习的小例子中产生下面的报错信息: 页面显示:HTTP Status 404 - No result defined for action com.action.personAction and result input 控制台显示: 警告: Could not find action or result No result defined f...
2018-05-07 22:46:48
356
原创 struts2中报错:ognl.MethodFailedException: Method "setImage" failed for object com.test.hello@1b9e39d9
在做文件上传时,报以下错误: 警告: Error setting expression 'image' with value '[Ljava.lang.String;@30e7e3b9'ognl.MethodFailedException:Method"setImage"failed.for.object.com.test.hello@1b9e39d9.[java.lang.NoSuchMe...
2018-05-04 22:40:01
663
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人