• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
carlos olmos
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I must add that i'm running this code with Jboss 2.4.4 on Windows XP.

Thanks.
 
carlos olmos
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic