![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
yangshh0
这个作者很懒,什么都没留下…
展开
-
Creating an Executable jar File
In Java, it is common to combine several classes in one .jar ("java archive") file. Library classes are stored that way. Larger projects (such as the Case Study in the AP program) use jar files. Yo转载 2012-10-29 10:25:47 · 1211 阅读 · 0 评论 -
用jquery生成二级菜单
页面中的函数 function querySub(id,sid/*选中的项*/){ $.post('${path}/page/article/querySubChannelArticle.action', {'channelId':id},function(data){ $('select[name="article.subChannel.subId"] optio原创 2012-11-05 11:14:00 · 844 阅读 · 0 评论 -
有没有人会Hibernate多对一啊,帮忙看下我配的对不对
看起来很简单的一个问题,其实要弄懂真不容易啊,至少我是还没完全明白,下面的代码都测试通过的。 欢迎大家指教。 我遇到的情况是两张表BN_IN_DETAIL_TBL和BN_IN_STATION_TBL 分别生成了两个实体类 public class InDetail { private Integer id; private InStation inStation; priv原创 2012-11-13 16:09:21 · 795 阅读 · 0 评论 -
struts2诡异错误之No result defined for input
原来以为弄了一年多的struts2,多少还是知道点的,可这次却被一个bug折腾了一个多小时,还没解决,明天再想吧 Could not find action or result No result defined for action we.study.action.ArticleAction and result input at com.opensymphony.xwork2.Defau原创 2012-12-01 00:15:50 · 2360 阅读 · 0 评论 -
spring报no matching editors or conversion strategy found
后来发现是实现类继承错了接口,当然就没法conversion了原创 2012-11-16 15:03:06 · 20147 阅读 · 0 评论 -
mysql的jdbc分页方法
LIMIT and OFFSET SQL Pagination AUGUST 29, 2005 Both MySQL and PostgreSQL support a really cool feature called OFFSET that is usually used with a LIMIT clause. The LIMIT clause is used to lim原创 2012-12-03 21:42:35 · 1888 阅读 · 0 评论 -
没加log4j时ssh框架启动tomcat会报的错
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/lo原创 2012-11-24 20:46:56 · 825 阅读 · 0 评论 -
apache的ftpclient的使用
网上搜了一些关于apache的ftpclient的使用范式 import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Ou转载 2013-04-16 13:47:57 · 9800 阅读 · 2 评论