The file cannot be validated as there was a connection problem. struts-config.xml
来源:互联网 发布:淘宝职业退货师被抓 编辑:程序博客网 时间:2024/05/02 00:28
The file cannot be validated as there was a connection problem.这个问题我是在学struts1.3时候遇到的。好像是由于没有正确书写<!DOCTYPE>的格式造成下文中书写xml代码时没有提示,没有按人家的要求来,造成错误找不出来。后来重新正确书写了这个东西,下边的代码自然好些多了,就没问题了,所以建议大家正确书写。
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
在上面的声明中,声明了文档的根元素是 struts-config,它在公共标识符被定义为 "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" 的 DTD 中进行了定义。浏览器将明白如何寻找匹配此公共标识符的 DTD。如果找不到,浏览器将使用公共标识符后面的 URL 作为寻找 DTD 的位置。
提示和注释:
注释:<!DOCTYPE> 标签没有结束标签!
注意:若不敢确定格式的书写是否正确,则可以访问后边的url,这时可以下载到一个对应的DTD文件,然后里边就有正确的格式书写,复制粘贴即可。。
0 1
- The file cannot be validated as there was a connection problem. struts-config.xml
- 在ibatis的提示出错:“The file cannot be validated as there was a connection problem. ”
- The file cannot be validated as the XML definition...
- struts问题the file cannot be validated as the host "struts.apache.org" is currently unreachable
- The file cannot be validated as the host "struts.apache.org" is currently unreachable.
- mybatis的xml文件没有提示,出现the file cannot be validated as the XML definition.....
- The file cannot be validated as the XML definition 异常解决办法
- Eclipse log4j.xml – log4j.dtd cannot be validated as the XML definition
- There was a problem getting an AppDomain to run the transformation from the host. The process cannot
- struts.xml Included file cannot be found
- There was a problem confirming the ssl certificate ……
- There was a problem with the editor ‘vi’
- 解决"The underlying connection was closed: A connection that was expected to be kept alive was closed"
- Excel 2010出现there was a problem sending the command to the program解决
- Excel - There was a problem sending the command to the program
- Excel 错误提示“There was a problem sending the command to the program”
- Fixing "There was a problem with the editor 'vi'" for Git on Mac OS X
- 解决yum升级的问题“There was a problem importing one of the Python modules”
- 转载大神IOS开发系列【8】--UITableView全面解析
- mongodb学习1-安装、部署、shell
- Disruptor Ring Buffer as a Blocking Queue
- Ubuntu下软件无法下载或更新以及SDK无法更新的情况解决
- hoj1017 Joseph's problem II
- The file cannot be validated as there was a connection problem. struts-config.xml
- CATIA
- php学习笔记之 array+array 和 array_merge
- 【Java】Java基础知识1. 继承、多态、重载和重写
- UVa-10891 Game of Sum ACM解题报告(递推O(n^2)算法)
- Unicode中文和特殊字符的编码范围
- HDOJ 题目4707 Pet(DFS)
- NYOJ794
- 在开发测试中使用HBaseMiniCluster