java web开发
文章平均质量分 56
炒冰
这个作者很懒,什么都没留下…
展开
-
Javadoc转换chm帮助文档的四种方法总结
关键词Javadoc chm 转换 jd2chm javadoc2chm javadoc2help Javadoc2chm 中文乱码李顺利前言 朋友,当您在一个项目完成后,是不是需要把你的源码打包并且把注释打成Javadoc交给客户,Eclipse或者MyEclipse自动打成的Javadoc文档都是基于网页格式的,打开是很方便,不过真的用的时候,搜索每个方法或者什么的就很麻烦了,转载 2013-12-03 23:18:47 · 779 阅读 · 0 评论 -
springMVC文件上传
SpringMVC文件上传博客分类: Spring 必须明确告诉DispatcherServlet如何处理MultipartRequest。SpringMVC中提供了文件上传使用方式如下配置xxx-servlet.xml,添加如下代码: Xml代码 bean id="multipartResolver"转载 2014-06-29 15:23:44 · 527 阅读 · 0 评论 -
ueditor的使用
UEditor是百度的编辑器,界面美观,功能强大,用起来还不错。详见该链接http://ueditor.baidu.com/一、下载http://ueditor.baidu.com/download.html二、部署目前最新版本为1.1.7.3下载下来的文件名为ueditor1.1.7.3.zip把解压出来的ueditor文件夹整转载 2014-03-23 13:55:12 · 738 阅读 · 0 评论 -
分享HTTP Status 404(The requested resource is not available)的几种解决方案
这个问题搞了我两天的时间,找了各种资料没解决,后来才发现是struts2版本中一些jar文件的升级问题,下面给出这两天的找到的以及自己的解决方案:1.未部署Web应用2.URL输入错误 排错方法:首先,查看URL的IP地址和端口号是否书写正确。其次,查看上下文路径是否正确 Project--------Properties------MyElipse----转载 2013-12-22 15:06:49 · 8479 阅读 · 0 评论 -
<many to one>和<one to many>
一对多,多对一(双向关联)1、PO//User类public class User { private int userId; private String userName; //在一的一方要引用多的一方的类,并把它放入到Set集合中 private Set videos = new HashSet(); public User() { supe转载 2013-12-22 17:33:27 · 583 阅读 · 0 评论 -
java.lang.IllegalArgumentException: node to traverse cannot be null! 处理方法
java.lang.IllegalArgumentException: node to traverse cannot be null! 处理方法一般出现这个问题是因为你的hql语句写错:特别注意字符串与一些属性值之间的空格例如://在from后面需要多加一个空格,在as o前面和后面都需多加一个空格错误实例:String hql="from" + en原创 2013-12-18 15:24:26 · 668 阅读 · 0 评论 -
c3p0-config.xml配置与使用
C3P0配置与使用一、C3P0配置1、使用xml方式(名称为c3p0-config.xml) jdbc:mysql://localhost:3306/tv_guide com.mysql.jdbc.Driver root root 30000 30 10 30 100 10 200 2、使用properti转载 2013-12-16 19:53:55 · 17140 阅读 · 0 评论 -
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires
在eclipse启动tomcat时遇到超时45秒的问题:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.网上解决转载 2013-12-13 20:32:42 · 922 阅读 · 0 评论 -
把Javadoc转换成CHM格式的帮助文档
Eclipse或者MyEclipse自动打成的Javadoc文档都是基于网页格式的,打开是很方便,不过真的用的时候,搜索每个方法的时候就很麻烦了,而chm帮助文档格式不但文件小,索引,检索都很方便。 ①这里介绍一种jd2chm.exe转换工具,把这个文件(jd2chm.exe)放到需要生成Javadoc的目录下,必须保证同一个目录下一定要有index.html,不然不能生成转载 2013-12-05 23:47:43 · 1004 阅读 · 0 评论 -
jsp分页显示
(来自百度空间)JSP中如何实现分页大致思路:首先,从数据库中取出所有记录,保存在一个容器中(当然容器有很多种,我们可以随便选)。然后,我们根据链接传递的参数来从容器中取出需要显示的记录。public ArrayList select(){ArrayList list=new ArrayList();Connection con=ConnDB.getConn转载 2013-12-01 13:23:14 · 744 阅读 · 0 评论 -
Could not instantiate bean class [org.springframework.web.multipart.MultipartFile]: Specified class
在control的Mu原创 2014-06-29 15:36:28 · 7083 阅读 · 0 评论