How to work with Chinese login page
(internationalization).if he enters user name and password
in chinese, how is it converted to English and validate in
db? And in reverse it should display welcome message in
Chinese,if user is valid

Answer Posted / venkat

Wen u are in such a condition, the resource bundles are used.
resource bundle is nothing but a property file.the container
looks for the specific property file and gets those values
in english.after performing the business logic, it again
looks the properties file .here the container does not
automatically does the process.we have to define some code
in the servlet.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we implement a jsp page?

636


Which method is called when reference variable is passed in system.net?

1842


What is the advantage of Servlets when compared with other server side technologies?

1868


What is servlet name in web xml?

565


What is the difference between using getSession(true) and getSession(false) methods?

578






What are life cycle methods of a servlet?

596


What are some disadvantages of storing session state in cookies?

600


How to get the path of servlet in the server?

544


Explain load on start-up and its importance?

606


Whether we can get deadlock situation in servlets?

582


Can we override destroy method in servlet?

514


What do you understand by mime type?

571


Explain request dispatcher and its methods.

595


What is setattribute in servlet?

569


Describe some assignments that are executed by servlet container?

595