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
What is the difference between jsp and servlet life cycle?
What is the use of attribute in servlets?
how many jsp scripting elements are there and what are those?
What is setattribute in servlet?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
What is the web server used for running the Servlets?
What does the term localization refer to?
Which http method is said to be non-idempotent and idempotent?
How do you design microservices?
What is meant by a web application
What is the difference between genericservlet and httpservlet
Tell us something about servletcontext interface.
How can you create a session in servlet?
How many objects of a servlet is created?
What is servlet and how it works?