关于强制装换
摘要:在代码中很多时候会使用强制转换,比如(int)list.get(0).get("num")但很多时候不能使用这种类型的强制转换,会造成InvocationTargetExceptionInvocationTargetException 是一种包装由调用方法或构造方法所抛出异常的受查异常。这个异常并不...
阅读全文
posted @
2015-06-23 11:25
itliucheng
阅读(263)
推荐(0)
page分页
摘要:首先封装一个分页类 controller中 service中 dao中
阅读全文
posted @
2015-06-16 17:54
itliucheng
阅读(742)
推荐(0)
pageContext.request.contextPath 和 request.getContextPath()
摘要:作用是取出部署的应用程序名,这样不管如何部署,所用路径都是正确的。El表达式的写法:${pageContext.request.contextPath}jsp的写法:
阅读全文
posted @
2015-04-29 17:08
itliucheng
阅读(196)
推荐(0)
There is an error in invoking javac. A full JDK (not just JRE) is required
摘要:最近调整了磁盘分区,硬盘里什么都没有了,可惜了我很多项目还有数据库资源然后把以前ssh项目重新导入进来的时候出现了一个错误org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full J
阅读全文
posted @
2014-12-19 09:34
itliucheng
阅读(1296)
推荐(0)