Hi Troy,
What you need to is have an index.jsp, specify the index,jsp in your
web.xmllike tihs
  <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>

>   </welcome-file-list>


after that you need to code your index.jsp like this

  <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
     <logic:redirect forward="kicker"/>
In this case "kicker" will be the logical name of your global ActionForward,
the servlet will use this logical name to retrieve the kicker.do URL calling
the related Action.

On your struts-config.xml, you need to have the following global
ActionForward object

<global-forwards>
       <forward name="kicker" path="/kicker.do" />
</global-forwards>

It should work this way.








On 3/9/06, Troy Bull <[EMAIL PROTECTED]> wrote:
>
> Greetings
>
> I have a struts app called "bus" and I have an action kicker.do.  How do
> I tell my app to start kicker.do if no other info on the url is given.
>
> for example
>
> http://myserver.com/bus  should run http://myserver.com/bus/kicker.do
>
> I put
>   <welcome-file-list>
>     <welcome-file>/kicker.do</welcome-file>
>   </welcome-file-list>
>
> this in my web.xml and that didn't do it.  Anyone know what I am doing
> wrong?
>
> thanks
> troy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Regards
Name : Oshima Tlholoe
Cell No: +2773 342 4393
Tel No : +2712 350 1282(w)
E-mail : [EMAIL PROTECTED]
simplicity is the ultimate sophistication

Reply via email to