struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <>
Subject Re: SwitchAction Parameters
Date Mon, 23 Sep 2002 18:44:08 GMT
It says they must be request parameters.  You can put them there, and 
the digester will ... gee, can't think right now - it will either 
silently ignore them or you'll get a SAXException, I think.  I believe 
the latter is what you will find.  Have you actually tried this yet?

They aren't properties on the class (that I'm aware of) -- they are 
expected to be, just as is stated, request parameters (not to be 
confused with request attributes!).

julio wrote:

>Hi all,
>I´m using the SwithAction, but I did´t want to put the parameters prefix
>and page in the url.(for example
>http://foo/""&page="foobar.jsp"). I would like to specify
>the parameters in the struts-config.xml:
><action path="/switch" 
>        type="org.apache.struts.action.SwitchAction"
>        page="foobar.jsp"
>        prefix="">
>Is this possible or just an heresy? :)
>Julio Cesar

Eddie Bush

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

View raw message