tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@sfu.ca>
Subject Re: attribute XXX has no value
Date Thu, 01 Jan 1970 00:00:00 GMT
> <jsp:setProperty name="test" property="message"
> value="<%=Recordset2.getObject("XXX").toString()%>" />

-------------------------------> ^^^^^

It thinks the " character is terminating the value attribute.  Try escaping it with a \. 
E.g. ...getObject(\"XXX\").toString()...

- r
 
> (I want to pass a value from a DataBase to a Java Bean)
> 
> But I get this message:
> 
> org.apache.jasper.compiler.ParseException:
> /usr/lib/jakarta-tomcat-3.2.3/webapps/ROOT/my_page.jsp(50,89)
> attribute XXX has no value
> 
> ---------------------------------------------------------
> This mail was sent through Eoffice: http://www.eoffice.dk




Mime
View raw message