易截截图软件、单文件、免安装、纯绿色、仅160KB

struts2+spring+mysql 的问题 - Java / Web 开发

启动Tomcat 时就报 我知道可能是web.xml 但不知道是哪出的问题  

严重: Parse Fatal Error at line 1196 column 3: The element type "welcome-file-list" must be terminated by the matching end-tag "</welcome-file-list>".
org.xml.sax.SAXParseException: The element type "welcome-file-list" must be terminated by the matching end-tag "</welcome-file-list>".

这个是我的web.xml
<?xml version="1.0" encoding="gbk"?>
<web-app version="2.4" xmlns=" http://java.sun.com/xml/ns/j2ee"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<!-- 配置数据源 -->
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/zxdy</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

<!--web集成Spring配置==== begin-->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationC ontext.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener< stener-class


相关问答:

java日期处理 - Java / Java SE

当知道一个日期,如何把这个日期所在旬的前后两个日期取出
比如输入20090905,就输入20090901 20090910
输出20090901 20090910

取得天数后作一下判断再把这个方法用下void set(int field, int value)  
......

tomcat环境下jsp编译错误,求解! - Java / Web 开发

org.apache.jasper.JasperException: Unable to compile class for JSP: 
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......

myeclipse+mysql的配置问题 - Java / Eclipse

我是个新手,望高手解答
我现在已经安装了mysql,也有mysql的jdbc。但我怎么配置后,才能在MyEclipse里操作mysql呢?请高手说详细点
打开Myeclipse----window---open perspective---MyEclipse database explorer-- ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号