struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt E <>
Subject Writing values from javabeans to html tags.
Date Thu, 24 Jul 2003 21:23:10 GMT
Hello All!

I'm trying to give an inital value to one of the
fields in a form in an application of mine.

I had tried this:

<html:textarea property="comments" rows="4" cols="50"

Since I had read that you couldn't use bean:write tag
in the value attribute of the html tags.  However this
gives me an error in tomcat:

org.apache.jasper.JasperException: Unable to compile
Undefined variable or class name: requestDTO

The bean in question (requestDTO) is session scoped. 
I can use <bean:write> to write out the value, so I
know it's there.

What do I need to do so that
<%=requestDTO.getComments()%> works also?

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message