You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Abraham Kang <ab...@infogain.com> on 2001/06/11 20:15:16 UTC

RE: cann't work

Hi Zhongquing,

   Where is your servlet mapping?

--Abraham
  -----Original Message-----
  From: zhongqing [mailto:zhongqing@ncsi.com.cn]
  Sent: Thursday, June 08, 2000 7:29 PM
  To: struts-user@jakarta.apache.org
  Subject: cann't work


  HI
      I have a problem in using struts.The details are as follow:

      The Web Server is WebLogic5.1.
      and the configure info in the web.xml is:
      <servlet>
            <servlet-name>action</servlet-name>
            <display-name>action</display-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
            <init-param>
                 <param-name>debug</param-name>
                 <param-value>2</param-value>
            </init-param>
            <init-param>
                 <param-name>config</param-name>
                 <param-value>/WEB-INF/struts-config.xml</param-value>
            </init-param>
            <init-param>
                 <param-name>application</param-name>
                 <param-value>com.ncs.iwa.ApplicationResources</param-value>
           </init-param>
            <init-param>
                 <param-name>detail</param-name>
                 <param-value>2</param-value>
            </init-param>
            <init-param>
                 <param-name>validate</param-name>
                 <param-value>true</param-value>
            </init-param>
          <load-on-startup>2</load-on-startup>
   </servlet>

      and in the web-info folder there are:
              lib\struts.jar
              struts-config.xml

      The problem is :
          when I input the  http://localhost:port/myapp/login.do

          The server told me the login.do cann't be found .

      why?