Hi Ranchers,
I have this chunk of code in my
JSP:
<html

ption value = "<%=qvalue.getOid()%>" <%=str%>>
<bean:write name = "qvalue" property = "value" />
</html

ption>
<%=str%> returns selected="selected" or null depending on some logic so that the option gets selected if the condition is true.
but,if i include <%=str%> it throws me exception:
Unterminated <html

ption tag. If i remove and simply write
<html

ption value = "<%=qvalue.getOid()%>" > it works fine.
How to get value selected while displaying page using html

ption tags
Thanks,