![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 80
ElinaLuo
这个作者很懒,什么都没留下…
展开
-
oracle 存储过程 利用数组类型type实现批量插入数据库
Oracle没有数组类型,如果要传递原创 2014-11-22 20:43:31 · 4425 阅读 · 0 评论 -
java 数量/数量 正则表达式
30/10534"; boolean flag = value.matches("([1-9]|[1-9]([0-9]*))+/+([1-9]|[1-9]([0-9]*))"); System.out.println(flag); }}原创 2014-11-14 09:09:39 · 856 阅读 · 0 评论 -
struts2下利用jquery、ajaxfileupload实现无刷新上传文件
比较完整的例子,不过是php的,如果是jsp开发,可以参考我的代码,好了,废话不多说,直接上代码(什么struts配置我就不啰嗦了,直接附上上传相关的代码)需要的东西:struts2-json-plugin-2.2.1.jar、jquery.js和ajaxfileupload.js(附件可下载)上传文件的fileUpload.jsp<%@ page language="java" pageEncoding="utf-8"%>2014-11-05 08:49:12 · 84 阅读 · 0 评论 -
java反射 javaBean根据属性名找属性值
bute name组装method方法,然后利用method的invoke方法,就可以获取到attribute value了!下面直接上代码dto类:public class Dto { private String userName; private String password; public String getUserName() { return userName; } public void setUserName(String userName) {2014-11-03 21:14:30 · 878 阅读 · 0 评论 -
错误:No buffer space available (maximum connections reached?)
create a connection due to an inability to establish the client portion of a socket.This is usually caused by a limit on the number of sockets imposed by the operating system. This limit is usually configurable. For Unix-based platforms, see the ma2014-10-06 10:38:19 · 614 阅读 · 0 评论 -
国有资产管理系统web
2014-10-01 16:14:49 · 195 阅读 · 0 评论 -
yangtzeu职称评审表决系统
2014-10-01 10:55:04 · 111 阅读 · 0 评论 -
java.net.SocketTimeoutException: Read timed out问题解决
域网(器材:华为某设备),所有使用者通过ip地址访问服务器,我的电脑为服务器(数据库也在本机上),总共有42个评委,另外三个管理员,加起来就45个左右使用者。2014-6-28 21:51:22 org.directwebremoting.dwrp.BaseCallHandler marshallException警告: Exception while processing batchorg.directwebremoting.extend.ServerException: Failed to2014-06-30 18:43:19 · 2506 阅读 · 0 评论 -
jxl 打印excel,样式设置
OutputStream os = response.getOutputStream(); HttpSession session=request.getSession(); String oprator=(String)session.getAttribute("yhxm"); //设置编码 response.setHeader("Content-disposition", "attachment; filename=&2014-05-27 17:21:57 · 137 阅读 · 0 评论 -
错误的多次获取oracle.jdbc.driver.T4CConnection连接,导致tomcat突然停止
/** * 功能描述:获取oracle连接 * @param con * @return * @throws SQLException */ public static Connection getOracleConnection() throws SQLException { Connection conn = getConnection();// 获取connecti原创 2014-12-03 20:27:18 · 21741 阅读 · 0 评论 -
仿autoComplete输入联想且带分页 远程数据源(纯自创)
效果图:仿写初衷:因为代码表的数据量太大了,用select做下拉列表和点击后弹框选择,都不太人性化了,再加上本人的一点点强迫症,再就jQuery autoCompete吧,它竟然分不了页,这下我蛋疼了,还非得强迫我自己写啊!仔细想想,这功能要做的话,也不太难,就几个地方要考虑:1.通过什么事件来刷新数据?答案:通过文本框的onkeyup,监听onkeyup事件,即可将键原创 2015-01-04 21:05:49 · 843 阅读 · 0 评论 -
未关闭InputStream导致Tomcat意外死掉,重启后java.io.EOFException异常
{ "contentType", "application/octet-stream", "inputName", "inputStream", "contentDisposition", "attachment;filename=\"${fileName}\"",2015-01-20 10:02:10 · 308 阅读 · 0 评论