This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Spark in Action and have Jean-Georges Perrin on-line!
See this thread for details.
Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Servlet - Array of beans error - Help !

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic