Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about constructor?

 
Popescu Ion
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

In the index.xhtml page i have:


The bean is :


When i display the index.jsp page I get only Folder ID is :, without folderId value, why? Doesn't the constructor executes before and sets the folderId to "33" ?
Please explain me someone what is wrong ? Thnx in advance.
 
Tim Holloway
Bartender
Posts: 18419
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your "Constructor" is named "QuizBean", but your class is named "Test". Oops!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!