ahh, yes.  i have that too:

  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>/wizard/*</url-pattern>
  </servlet-mapping>

where 'action' is the name of org.apache.struts.action.ActionServlet

besides, isn't the name of the warfile taken as the default context
for the web application?

(am using jetty/jboss as a servlet container)

thanks
--e--

On Thu, 6 Dec 2001 09:41:49 -0000, Jon.Ridgway wrote:

>Hi Edward
>
>You will need to add a mapping into your web.xml.
>
>Jon.
>
>-----Original Message-----
>From: Edward Q. Bridges [mailto:[EMAIL PROTECTED]]
>Sent: 06 December 2001 09:36
>To: [EMAIL PROTECTED]
>Subject: struts-config.xml question
>
>
>given the below struts config which is part of a war file named
>'wizard.war',
>i am trying to have a url that appears in the client web-browser address bar
>of the sort:
>http://localhost:8080/wizard/logon
>
>but the only thing i can get to work is:
>http://localhost:8080/wizard/logon.jsp
>
>how can i accomplish this?
>
><struts-config>
>  <form-beans>
>    <form-bean name="logonForm" type="logon.LogonForm"/>
>  </form-beans>
>
>  <global-forwards>
>     <forward name="logon" path="/logon.jsp"/>
>  </global-forwards>
>
>  <action-mappings>
>    <action    path="/logon"
>               type="logon.LogonAction"
>               name="logonForm"
>              scope="session"
>              input="/logon.jsp">
>    </action>
>  </action-mappings>
></struts-config>
>
>TIA
>--e--
>--------------------------------------------
><argo_tec gmbh>
>     ed.q.bridges
>     tel. 089-368179.552
>     fax 089-368179.79
>     osterwaldstraße 10
>     (haus F eingang 21)
>     80805 münchen
></argo_tec gmbh>
>--------------------------------------------
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

--------------------------------------------
<argo_tec gmbh>
     ed.q.bridges
     tel. 089-368179.552
     fax 089-368179.79
     osterwaldstraße 10
     (haus F eingang 21)
     80805 münchen
</argo_tec gmbh>
--------------------------------------------



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to