部署项目 可是我重新部署,报错: it could not be completely removed in the underployment phase .the most common cause of this problem is attempting to redeploy while the server is running,which has locked one or more files 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?xml version="1.0" encoding="UTF-8"?><!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.yourcompany.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.yourcompany.struts.action.LoginAction" > <forward name="succ" path="/login_success.jsp"></forward> <forward name="fail" path="/login_failure.jsp"></forward> </action> </action-mappings> <message-resources parameter="com.yourcompany.struts.ApplicationResources" /></struts-config> 你的配置文件改过之后有没有重启服务器?每次只要动.xml文件就要重启服务器的(可能有点绝对了,但防患于未然)你重启服务器再发布试试在线关注ing! 楼上说的不错,用到tomcat服务的时候部署的时候最好是把服务停止之后在部署 求一些比较好的公司开发规范文档 多线程加载 将已生成的XML文件保存到orcl数据库中,用Java如何实现? 解析XML,希望大家指点 请问.do和.jsp格式的文件有什么区别 Jakarta-ORO包的正则疑惑 想免费接个小项目或小模块做做,熟悉java,struts,jsp,oracle,hibernate,spring... Myeclipse 启动的时候总是如下错 删除Vector中的任意项如何写?附有代码。 为什么不能获取最新的ID??(急) xfire开发WebService生成的wsdl问题 新手问题:有没有J2EE的中文文档查阅啊?
<!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.yourcompany.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.yourcompany.struts.action.LoginAction" >
<forward name="succ" path="/login_success.jsp"></forward>
<forward name="fail" path="/login_failure.jsp"></forward>
</action> </action-mappings> <message-resources parameter="com.yourcompany.struts.ApplicationResources" />
</struts-config>
每次只要动.xml文件就要重启服务器的(可能有点绝对了,但防患于未然)你重启服务器再发布试试在线关注ing!