What is that strange escape character "%26" as a parameter separator ??!!
Did you try the correct one which is "&" or perhaps better with the
equivalent HTML entity "&" ?
I didn't try myself but I won't understand if the following does not work :
<forward name="lfadm"
path="/doorman.do?action=lfadm.list&ci=0" redirect="true"/>
> - S�bastien Noel -
>
>
> -----Original Message-----
> From: Guus Holshuijsen [mailto:[EMAIL PROTECTED]]
> Sent: vrijdag 20 juli 2001 12:48
> To: [EMAIL PROTECTED]
> Subject: HTTP requests in struts-config.xml
>
>
> I would like to use the following request in a forward of an action
> in my web application's struts-config.xml file:
> "/doorman.do?action=lfadm.list&ci=0"
>
> But when I put in:
> <forward name="lfadm" path="/doorman.do?action=lfadm.list%26ci=0"
> redirect="true"/>
> I get XML parser errors when Tomcat starts up.
>
> And when I put in:
> <forward name="lfadm" path="/doorman.do?action=lfadm.list%26ci=0"
> redirect="true"/>
> I find that Struts does not interpret this as a parameter 'action'
> with value 'lfadm.list' and a parameter 'ci' with value '0' but as a
> parameter 'action' with value 'lfadm.list&ci=0' (note the change of %26
> into &).
>
> The questions I have:
> 1. Is Struts designed to handle these kind of requests in a forward
> in struts-config.xml?
> 2. If the answer to 1 is yes: am I doing something wrong, or did I
> run into a Struts bug?
> 3. If the answer to 1 is no: What's another option?
>
> Regards,
> Guus
>
> Guus Holshuijsen, Videtur
> Horsten 1, unit 1.18
> 5612 AX Eindhoven
> T:+31-40-2450214 F:+31-40-2939343 M:+31-6-25077204
>
>
>
>
> ---------------------
>
> An electronic message is not binding on its sender.
> Any message referring to a binding engagement must be confirmed in writing
> and duly signed.
> ---------------------
>
---------------------
Un courrier �lectronique n'engage pas son �metteur. Tout message susceptible de
comporter un engagement doit �tre confirm� par un �crit d�ment sign�.
An electronic message is not binding on its sender. Any message referring to a binding
engagement must be confirmed in writing and duly signed.
Ein elektronischer Brief bzw. eine elektronische Nachricht ist f�r den Absender nicht
verbindlich. Jede Nachricht, welche eine Verpflichtung beinhaltet, mu� schriftlich
best�tigt und ordnungsgem�� unterzeichnet werden.
---------------------