struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Dickson" <sco...@objectif.com.au>
Subject RE: Multiple query params for global forwards
Date Thu, 12 Dec 2002 23:20:39 GMT
Forward names whether they are global or local have to be unique.

Just for clarification...

When you reference the name of the Forward in your action servlet struts
looks for a local Forward if it can't find one it will look for a Global
Forward.

Hope this helps.

Scott

-----Original Message-----
From: Viva Chu [mailto:viva.chu@transplay.com]
Sent: Friday, 13 December 2002 9:34
To: struts-user@jakarta.apache.org
Subject: Multiple query params for global forwards


I'm trying to configure a global forward with multiple query parameters and
get a parse error from the Digester when my web app initializes.  Is this
not allowed?  If not, anyone know the reason why?

  <global-forwards>

    <forward   name="stores" path="list.servlet?bean=Store&type=STORE"/>
    <forward   name="stores" path="list.servlet?bean=Store&type=AUCTION"/>
  </global-forwards>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message