struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <>
Subject RE: Problem with forwards and contextRelative
Date Thu, 06 Mar 2003 03:06:19 GMT
This may seem obvious, but do you have a global forward, tile-def(if
using Tiles), or an action for '/Order/Checkout'? 

James Mitchell
Web Developer/Struts Evangelist

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
    - Soren Aabye Kierkegaard (1813-1855)

> -----Original Message-----
> From: Mark [] 
> Sent: Wednesday, March 05, 2003 9:42 PM
> To:
> Subject: Problem with forwards and contextRelative
> I have my application configured to map to a url such as:
> http://localhost/myApp/struts/
> Then, each action is mapped according to this url prefix:

and so on

However, if i have actions mapped like so:

    <action path="/Order/Checkout/save"  type="com.myapp.Order"
scope="session" name="orderForm" validate="false">
      <forward name="default" path="/Order/Checkout"/>
      <forward name="invoice" path="order.Invoice"/>

notice the default forward.  I am using "path="/Order/Checkout"

Which gives me an error:

description The requested resource (/myApp/Order/Checkout) is not

Notice that it did not include the "/struts/" path element (which is
what my servlet is attached to)

I have tried setting contextRelative true|false but no affect.

What am I missing?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message