Yeah, he just ignores it.

Julio Cesar


-----Mensagem original-----
De: Eddie Bush [mailto:[EMAIL PROTECTED]] 
Enviada em: segunda-feira, 23 de setembro de 2002 15:44
Para: Struts Users Mailing List
Assunto: Re: SwitchAction Parameters

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/bar.do?prefix""&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="">
></action>
>
>Is this possible or just an heresy? :)
>
>
>Julio Cesar
>

-- 
Eddie Bush




--
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]>

Reply via email to