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做一个C/S架构的项目,
可是由于项目比较大,前期对架构的设计尤其重要,因为后期可能随时会加个功能或者去掉某些功能。
所以特地寻求如何设计C/S的架构使程序更加面向对象更加易于维 ......
table怎么绑定数据库,并且用JavaScript实现翻页。。。。。。。。。。JavaScript能向JSP页面传递参数吗
你说的问题有点那个。。,不好回答。。。。
jsp中table是需要html代码与页面端获取数据库查询后的信息进行 ......
在JSP页面有一个<input type="hidden" name="index" value="0">/>控件
当我用下面的JavaScript函数改变其value的值的时候 如果满足条件(即i>=3的时候)为什么value的 ......