use single qoutes ''

Mikkel

-----Oprindelig meddelelse-----
Fra: someil [mailto:[EMAIL PROTECTED]]
Sendt: 30 May 2001 14:42
Til: [EMAIL PROTECTED]
Emne: use JSP variable as a value of property in <html:select ...> tag


Hi,

I would like use an expression such as :
        <html:select property=<%= var%> size="1">
but I can't do this.

The error obtained is : "Attribute value should be quoted"

So, I tried : <html:select property="<%= var%>" size="1">
then it results a new error : "Attribute <% has no value"

that is the problem?
How can I consider a JSP variable for an attribute value?

Thanks for your response ...

- Cyril -

Reply via email to