• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic