aspose file tools*
The moose likes Struts and the fly likes in logic iterate tag, nested property throws no getter method error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "in logic iterate tag, nested property throws no getter method error" Watch "in logic iterate tag, nested property throws no getter method error" New topic
Author

in logic iterate tag, nested property throws no getter method error

carlos olmos
Greenhorn

Joined: May 28, 2003
Posts: 12
Hello:

I have the following problem, maybe someone can helpme....

In a given JSP i have the code:


"/solicitante/draftForm" is an ActionForm and has a property called "drafts" of the type "UserModel", there is also a getDraft(). Now inside UserModel is the ArrayList "vbs" with its corresponding getVbs() method.

When I load this page i get the following error:


I don't understand why doesn't find the getter method if is right there in both classes....

Please advise...

Carlos Olmos.
carlos olmos
Greenhorn

Joined: May 28, 2003
Posts: 12
I must add that i'm running this code with Jboss 2.4.4 on Windows XP.

Thanks.
carlos olmos
Greenhorn

Joined: May 28, 2003
Posts: 12
Problem solved.

I leave this message in case anyone has the same problem. I was using Jboss 2.4.4 with jdk 1.3.1_10 on windows XP.

I switched to jdk 1.3.0_01 and the problem dissapeared.

Apparently there's some problems in the way jdk 1.3.1 finds the classes of nested properties for struts.

regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: in logic iterate tag, nested property throws no getter method error