Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet - Array of beans error - Help !

 
Nair Anoop
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).]
 
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
 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic