• 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
Saloon Keeper
Pie
Posts: 18098
50
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