The current version of the docs: http://jakarta.apache.org/struts/userGuide/building_view.html#forms doesn't seem to have the problem.  Are you using an old version of the documents?

Craig.

Michael Grushko wrote:

 Thank you Craig. It is work now. Strange ... I took this name of attribute from documentation (3.3.1. - example)
-----Original Message-----
From: Craig Tataryn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 7:11 PM
To: [EMAIL PROTECTED]
Subject: Re: Please, help with strange exception
 
As suspected, replace: <struts:text name="username" size="10"/> with <struts:text property="username" size="10"/>

The name attribute is to be used to specify the name of the bean the property attribute applies to.  In this case, you don't have to specify a bean name because it is within a <struts:form/> which will default the name attribute to the formBean setup for the current controller.

Hope that helps,

Craig.
 
 

--
I've been trying to change the world for years, but they just won't give me the source code....
 

begin:vcard 
n:Tataryn;Craig
tel;home:952-884-6752
tel;work:952-842-5576
x-mozilla-html:TRUE
url:http://www.computer-programmer.org
org:Compuware;Professional Division
adr:;;3600 West 80th St. Suite 400;Bloomington;MN;55431;United States of America
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Staff Analyst
fn:Craig Tataryn
end:vcard

Reply via email to