File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Question about constructor? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Question about constructor?" Watch "Question about constructor?" New topic
Author

Question about constructor?

Popescu Ion
Ranch Hand

Joined: Jan 14, 2011
Posts: 33
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.


Sorry for my English, it is not my first language.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

Your "Constructor" is named "QuizBean", but your class is named "Test". Oops!


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Don't get me started about those stupid light bulbs.
 
subject: Question about constructor?
 
Similar Threads
NoClassDefFoundError after upgrading from WL SP2 to SP4
Recursive table with non-primary key field problem
The value for the useBean class attribute is invalid.
Duplicated rows on the database
Eclispe + Hibernate + DB2 version 9