Questions of Test: JSF Interview questions

More >>

1

Which of the following services are provided by JSF framework?

2

Can we use JSF to render components for client other than HTML browser?

3

Which of the following are Characteristics  of a JSF managed bean?

4

My JSF application has user display language as English. The messages and text are hard coded in the jsp file. Now I want the application to display in German also. So I decided to use properties file. How can I configure and use it in jsf application?

5

I have a JSF (v 1.2) application.  I want to use properties file for test/messages in my application. Same time I also want to make sure it runs properly even on older versions of JSF. Which is the appropriate method to choose?

6

Which of the following method of using resource bundle in JSF application is more efficient?

7

I have used messages.properties file for user interface messages and I have configured message bundle in my faces-config.xml file using <message-bundle> tag. But now I realize that for many messages I might have to send the parameters also. Some thing like : "you have added <parameter> number of items till now". How can I achieve this?

8

I have 2 files message.properties, message_de.preoprties for English and German strings respectively.  The default language is English. Given they are configured properly in the faces-config.xml file, how can I make the application to show german strings in my application.

9

Which of the following are correct managed-bean definition?

10

How can I set a managed bean property to a null value in the faces-config.xml?

More >>