struts2+tomcat6+ultraEditer=404错误,求救目录结构:
1.strutsqs/WEB-INF
  strutsqs/login.jsp
2.WEB-INF/web.xml
  WEB-INF/classes
  WEB-INF/lib
3.classes/struts.xml
  classes/wgh/LoginAction.class
struts.xml内容:<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
        "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="strutsqs" extends="struts-default">
<action name="Login" class="wgh.LoginAction">
<result name="success">/welcome.jsp</result>
<result name="error">/error.jsp</result>
</action>
</package>
</struts>web.xml内容:<?xml version='1.0' encoding='utf-8'?><web-app xmlns="http://java.sun.com/xml/ns/javaee"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
   version="2.5">  <filter>
   <filter-name>struts2</filter-name>
   <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
  </filter>
  <filter-mapping>
   <filter-name>struts2</filter-name>
   <url-pattern>/*</url-pattern>
  </filter-mapping>
  <welcome-file-list> 
<welcome-file>/login.jsp</welcome-file> 
</welcome-file-list> 
</web-app>Tomcat/conf/server.xml部分相关内容:<Server>
      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true"
            xmlValidation="false" xmlNamespaceAware="false">
            <Context path="/strutsqs" docBase="d:\tomcat\webapps" debug="0" reloadable="true">
             <WatchedResource>WEB-INF/web.xml</WatchedResource>
            </Context>
      </Host></Server>

解决方案 »

  1.   

    以后用ue的就别来问了直接装个ide再说
      

  2.   

    如题,我不打算用myEclipse来帮忙.可是,弄了几天了.就是没办法突然这一关.大家伙知道的来帮个忙吧.
    输入 http://localhost/strutsqs/login.jsp
    每次都是说404错误...
    郁闷死了.
    一个头两大....本来struts2就是刚入手,居然直接struts2+tomcat这关都过不了.
      

  3.   

    为啥都对UE这么反感?新手不应该多用UE吗?
      

  4.   

    不是我不懂得装IDE,只是,有句话说的好,IDE可以帮熟练之人节省时间,可是会把新手变得更白痴...
    所以,只能多花时间搞UE了..