解决方案 »
- struts2标签与dreamweaver
- session串值
- 在线等待 Spring + ibatis 事务问题。
- 为什么加入了spring事务管理机制的程序要直接使用接口的方法??
- HttpURLConnection获取页面内容的用处
- 为什么servlet2.5/jsp2.1 里的EL表达式无效
- jsp
- 高分求教:工作流引擎哪个好用?
- struts1.1的数据源问题,找不到org.apache.commons.dbcp.BasicDataSource
- ☆请问各路大虾,哪里有 EJB 的学习资料下载?☆
- 图片怎么才能正常显示,试过了多种方法
- web 套打 用什么控件 ,新手不知道如何选择下手, jatoolsPrinter、lodop?
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>比如这样的形式,servlet这些在web-app节点里面写就行
因为我不清楚版本
也就是
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
这个可能不一样,我的是3.0,不清楚你是多少,所以最好新建一个,然后拷过来