这是我在cat的DOC里看到的一句话
WARNING - Be sure you respect the element ordering that is required by the DTD for web application deployment descriptors! See the Servlet Specification for details.
好像指的是<resource-ref>
<description>
Resource reference to a factory for javax.mail.Session
instances that may be used for sending electronic mail
messages, preconfigured to connect to the appropriate
SMTP server.
</description>
<res-ref-name>
mail/Session
</res-ref-name>
<res-type>
javax.mail.Session
</res-type>
<res-auth>
Container
</res-auth>
</resource-ref>
有严格的顺序,必须按照DTD中的来。或者参考Servlet的说明文档,可我在Servlet的说明文档中指不到相关的内容。
WARNING - Be sure you respect the element ordering that is required by the DTD for web application deployment descriptors! See the Servlet Specification for details.
好像指的是<resource-ref>
<description>
Resource reference to a factory for javax.mail.Session
instances that may be used for sending electronic mail
messages, preconfigured to connect to the appropriate
SMTP server.
</description>
<res-ref-name>
mail/Session
</res-ref-name>
<res-type>
javax.mail.Session
</res-type>
<res-auth>
Container
</res-auth>
</resource-ref>
有严格的顺序,必须按照DTD中的来。或者参考Servlet的说明文档,可我在Servlet的说明文档中指不到相关的内容。
解决方案 »
- Struts2和Hibernate整合出错,错误提示如下,原因是什么?
- 大家来帮帮忙.......Access denied for user 'root'@'localhost'
- WEB系统的Filter
- struts2.0与2.1之间问题
- Person.class是什么意思
- ibatis问题,困扰我一天了,来者即有分
- tomcat启动问题
- Myeclipse里启动Weblogic时Struts-config报错 救命~~
- 各位高手,问一个问题,在url里的变量值里如果有空值,是不是会出错呀,要怎样解决呀,小弟在这里24等着你们指导
- 请教在MVC的struts结构下,怎样在ACTION里实现文件上传。。谢谢
- 为了增加积分,分享一个时间同步java程序,可以在hp-ux下和xp下混合使用,任意添加客户端服务端,多线程
- 服务器与客户端交流产生的问题?
我只是看到这句话:Be sure you respect the element ordering that is required by the DTD for web application deployment descriptors!
我才感觉到原来顺序也是有要求的。