错误记录与分析
在这儿记录一些自己常犯的错误,做一些“前车之鉴,后车之师”的事情吧。
1,save could not be completed。
出现这个错误就是页面的编码和工程定义的编码不一致。我的错误发生在 保存JSP界面的时候。
解决方案: 首先,在jsp界面中一定要添加界面编码方式的说明:
<%@ page language="java" contentType="text/html; charset=utf-8"%> 如果还是出现问题,那么就改一些你自己的系统默认编码配置:
window-->preferences-->MyEclipse Enterprise -->Files And Editors -->JSP。将其中编码选为:utf-8。
这样就可以了。
2,Oracle数据 库中 翻页的一些知识
select * from( select my_table.*, rownum as my_rownum from ( select * from ( select t.name from hr_childcheckthreeyearold t ) ) my_table where rownum<=20)where my_rownum >=1
页:
[1]