cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nishit Trivedi" <nis...@planet.net>
Subject Fw: xsp variable as form action parameter
Date Thu, 25 May 2000 20:25:30 GMT
Yupp.. got it...
I used following line for form action...

<FORM><xsp:attribute
name="ACTION"><xsp:expr>formAction</xsp:expr>.html</xsp:attribute>"
method="GET">

sorry if you have already replied or tried for it...

Nishit
Internet Programmer
Planet Access Networks
973-691-4704 Ext:157
----- Original Message -----
From: "Nishit Trivedi" <nishit@planet.net>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, May 25, 2000 4:05 PM
Subject: xsp variable as form action parameter


> hi,
>
> How do I use xsp variable in Form Action parameter???
> Here is what I do.
> -------------------------------------------------------------------
> <xsp:logic>
>    String formAction = request.getParameter("File");
> </xsp:logic>
>       <FORM ACTION="<xsp:expr>formAction</xsp:expr>.html" METHOD="GET">
>        <INPUT TYPE="submit" VALUE="Submit Test"/>
>       </FORM>
> <xsp:logic>
> ....logic goes here....
> </xsp:logic>
> -------------------------------------------------------------------
>
> Its giving me Error as follows:
> org.xml.sax.SAXParseException: The value of attribute "ACTION" must not
> contain the '<' character.
>
> How do i resolve it??
> Thanx in Advance.
>
> Nishit
> Internet Programmer
> Planet Access Networks
> 973-691-4704 Ext:157
>


Mime
View raw message