一个简单的登陆 做完了 启动tomcat有错误错误如下:
严重: Parse Fatal Error at line 16 column 3: The element type "Resource" must be terminated by the matching end-tag "</Resource>".
org.xml.sax.SAXParseException: The element type "Resource" must be terminated by the matching end-tag "</Resource>".
各位看看什么原因
严重: Parse Fatal Error at line 16 column 3: The element type "Resource" must be terminated by the matching end-tag "</Resource>".
org.xml.sax.SAXParseException: The element type "Resource" must be terminated by the matching end-tag "</Resource>".
各位看看什么原因
解决方案 »
- 为什么我这个从pageContext过来的vector不能添加值
- 用过Selenium的朋友麻烦帮忙解决个小问题
- 删除一条记录时当刷新后页面还显示原来的记录
- 我想用java把excel文件中的内容导入到远程的oracle数据库。怎么办
- webwork验证返回jsp出现问题
- 谁见过这个问题啊javax.servlet.ServletException: no ocijdbc9 in java.library.path
- Vector 存放数据问题--谢了-源代码给出
- Hibernate 中“could not initialize proxy - no Session”的问题
- 很头疼的一个关于javascript的问题.
- Resin2.0.b2在jsp文件后加%82暴露源代碼,如何解決?
- 书上的JSP例子:连接mssqlserver出错
- javascript 表单提交
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>3</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>3</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
</web-app>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"><struts-config>
<data-sources />
<form-beans >
<form-bean name="loginForm" type="com.mldn.lxh.struts.form.LoginForm" /> </form-beans> <global-exceptions />
<global-forwards />
<action-mappings >
<action
attribute="loginForm"
input="/errors.jsp"
name="loginForm"
path="/login"
scope="request"
type="com.mldn.lxh.struts.action.LoginAction">
<forward name="suc" path="/login_success.jsp"></forward>
<forward name="fal" path="/login_failure.jsp"></forward>
</action> </action-mappings> <message-resources parameter="com.mldn.lxh.struts.ApplicationResources" />
</struts-config>
你说的好像有点对 可是本机上有tomcat呀