> From: as as [mailto:[EMAIL PROTECTED] 
> I have a question on using two beans in same form.....
> I get the followig error:
> javax.servlet.jsp.JspException: No getter method for property 
> name of bean testModule
> basically I am trying to access name and id of bean1 and 
> version of bean2 to show in the same one form...

You need to show the code that's giving you the error, otherwise we can
only guess.

The error message says it's looking for a 'getName()' method in the
'testModule' bean.  Apparently that's not where the 'getName()' method
is.  Make sure your beans conform to the JavaBeans specification-- no
duplicate 'set' methods with different signatures, for example.

If you're just doing <bean:write> or <c:out> you may need to name the
bean that you want it to use.  If you're trying to get form fields to
pick up values from two different beans, you should probably populate
the single form bean in the Action, and then let the Struts tags do
their thing.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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

Reply via email to