Since fullname shows up I assume that you have wired the action & bean to the page 
correctly.

So, your form bean has

 public String getFullname() { ... }
 public String getAddress() { ... }

Have you double-checked the spelling and case?  If the property in your <bean:write> 
is foo, the getter has to be getFoo().

Sri

-----Original Message-----
From: struts user [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 28, 2002 8:31 AM
To: [EMAIL PROTECTED]
Subject: <bean:write .../>



Hello All,

In my actionservlet, I have the following:

userInfoForm userForm = (userInfoForm) form;

String fullname = userForm.getFullname();
String address = userForm.getAddress();

When I try to display the value in my JSP page using 

<bean:write name="userInfoForm" property="fullname"/> <bean:write name="userInfoForm" 
property="address"/>

Why the page just display the value of fullname and
not both fullname and address? Thank you!!!

Thanks,
Lee

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to