ITeye博客

左左春秋

submaze · 共 127 篇文章

解决Dreamweaver CS6占用CPU过高

参考文献: http://www.wxzzz.com/368.html

2014-09-04 12:20 · Tools · 评论(0)

mysql 创建函数失败 错误1418 ERR处理方法

在MySQL创建用户自定义函数时,报以下错误: ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable) 这是因为有一个安全参数没有开启,log_bin_trust_function_creators 默认为0,是不允许fun…

2014-09-03 10:59 · 默认类别 · 评论(0)

Cannot call sendError() after the response has been committed

当response提交后,不能调用sendError(),什么意思? 出现这个错误,一定是多次response导致的。可以这么理解,承载客户端和服务器进行Http交互的Socket连接已经关闭了,而你还试图发送数据给客户端,显然会出错。就好比我俩打电话,我都挂电话了,你还在“喂喂喂”。 例如下面这段代码就会出现此错误: import java.io.Writer; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.ServletActionContext; import com.opensymph…

2014-08-08 17:18 · 默认类别 · 评论(0)

spring 扫描 hibernate 注解:packagesToScan

这几天在搭建一个新架构,引用了spring 2.5.6中新加的特性,就是自动扫描Class的hibernate映射文件。 我的class都在com.pplus.model这个包里,注意 配置参数 org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean <bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> <property name="…

2014-08-02 15:37 · SSH · 评论(0)

javax.annotation.ParametersAreNonnullByDefault jar包

java.lang.ClassNotFoundException javax.annotation.ParametersAreNonnullByDefault 对应jar包缺失 参考资源 http://www.java2s.com/Code/Jar/j/Downloadjsr305139jar.htm

2014-07-15 15:34 · Web开发 · 评论(0)

struts2 网页模板

freeMarker, Velocity表现层技术,模板是网页

2014-07-06 17:53 · SSH · 评论(0)

Windows下搭建PHP开发环境

php开发环境搭建参考 http://www.cnblogs.com/pharen/archive/2012/02/06/2340628.html Apache安装后里面无服务解决办法 http://submaze.iteye.com/blog/2086267

2014-06-28 11:48 · Tools · 评论(0)

Apache安装后里面无服务解决办法

安装失败,可能和防火墙有关,可以关闭防火墙试试 参考文档 http://blog.sina.com.cn/s/blog_63426ff90100j05f.html

2014-06-28 11:22 · Tools · 评论(0)

JAVA加密安全

第三方开源组件包 Bouncy Castle http://www.bouncycastle.org/ 是一个开源加密组件,它提供了多种java6所不支持的算法实现,如MD4和SHA-224,对称加密算法IDEA等... Commons Codec http://commons.apache.org/codec/ 同样是一款开源组件,它位于国际开源组织Apache 旗下对java 6进一步封装,加强了易用性 关于网络监听工具WireShark 通过网络监听工具WireShark完成网络数据监控,官网http://www.wireshark.org/下载最新软件包

2014-06-22 21:15 · Tools · 评论(0)

Java日期格式化常用方法

参考文档: http://www.cnblogs.com/mailingfeng/archive/2011/07/28/2120422.html

2014-06-21 21:03 · JAVA · 评论(0)

网页嵌入mp3音乐

<!--声音--> <audio id="v1" controls="controls" height="100" width="100" style=" display:none"> <source src="music.mp3" type="audio/mp3" /> <source src="song.ogg" type="audio/ogg" /> <embed height="100" width="100" src="music.mp3" /> </audio> <script> var myVideo=document.getElementById("v1"); functio…

2014-05-29 16:05 · Web开发 · 评论(0)

搭建nginx流媒体服务器for linux

参考文献: 搭建文档 http://blog.chinaunix.net/uid-20639775-id-154556.html 技术讨论 http://bbs.csdn.net/topics/390615854

2014-05-28 14:31 · 服务器 · 评论(0)

js表单提交

js 表单提交 <html> <head> <script type="text/javascript"> function formSubmit() { document.getElementById("myForm").submit() } </script> </head> <body> <form id="myForm" action="js_form_action.asp" method="get"> Firstname: <input type="text" name="firstname" size="20"><br /> Lastname: <input type="text…

2014-05-09 17:07 · UI · 评论(0)

myeclipse js报错解决方法

见参考资料中的方法二 参考资料 http://www.cnblogs.com/developering/archive/2013/01/22/2870908.html

2014-05-07 22:34 · Tools · 评论(0)

滚动条样式

参考资料: http://manos.malihu.gr/tuts/custom-scrollbar-plugin/complete_examples.html

2014-05-06 20:53 · UI · 评论(0)