• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet - Array of beans error - Help !

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using Tomcat 4.0 as my servlet engine. I am passing an array of beans from a servlet to a JSP and am then attempting to display the same in the JSP. If I use the <jsp:getProperty> tag, I get the correct number of records displayed, but all the values are blanks (initial default values)
However, if I explicitly call the methods user.getXXX(), it works fine. Any help would be greatly appreciated.
Thanks,
Anoop

[This message has been edited by Mike Curwen (edited November 19, 2001).]
 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, Nair. Were you able to get your JSP to see the bean and If you did, do you have to put the bean in a package? The reason why I'm asking is I can't get my JSP to see the bean that I created.
thanks
------------------
Donald Nunn
Sun Certified Programmer for the Java� 2 Platform
 
Donald Nunn
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, Nair. Were you able to get your JSP to see the bean and If you did, do you have to put the bean in a package? The reason why I'm asking is I can't get my JSP to see the bean that I created.
thanks
------------------
Donald Nunn
Sun Certified Programmer for the Java� 2 Platform
 
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic