Java
文章平均质量分 68
helin0074
呵呵,开心就好
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Tomcat web.xml配置已经常用管理功能说明
<br />Tomcat web.xml配置已经常用功能说明2008年06月02日 星期一 00:16五、web.xml配置简介: <br /><br /> 1、默认(欢迎)文件的设置 <br /><br /> 在tomcat4/conf/web.xml中,<welcome-file-list>与IIS中的默认文件意思相同。 <br /><welcome-file-list> <welcome-file>index.html</welcome-file>原创 2010-06-12 20:44:00 · 802 阅读 · 0 评论 -
在Tomcat中配置404自定义错误页面全解
<br />一直使用tomcat,今天想到一个问题,自定义404错误页面, <br /> 为了获得很好的用户感受,是不应当向用户暴露404这样的页面的, <br /> 问题的出发点是我在Struts2中定义错误页面, <br /> 在Struts2中是这样定义的: <br /> <default-action-ref name="pagenotfound"></default-action-ref> <action name="pagenotfound">原创 2010-06-12 20:46:00 · 1186 阅读 · 0 评论 -
XPath对XML解析,修饰符简要说明
<br />dom4j-xpath选择xml节点类型: <br /><br /> 1、绝对路径 / <br /> 2、相对路径 // <br /> 3、所有类型 * <br /> 4、指定 [ ] <br /> 5、属性 @ <br /> 1、指定序号 数字 <br /> 2、操作符: | 或 <br /> 3、函数: <br /> name() 返回名称 <原创 2010-06-12 20:50:00 · 571 阅读 · 0 评论 -
全半角转换
<br /> /** * 半角转全角 * @param input String. * @return 全角字符串. */ public static String ToSBC(String input) { char c[] = input.toCharArray(); for (int i = 0; i < c原创 2010-06-12 20:55:00 · 416 阅读 · 0 评论
分享