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 httpservlet class?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Why do we have servlet filters?
What are the ways to handle multi-threading in servlets?
What is a servlet engine?
What are its drawbacks of cgi?
What are session variable in servlets?
What is the functionality of actionservlet and requestprocessor?
How can we refresh automatically when new data is entered into the database?
What are different ways for authentication of servlet?
Explain how does JSP handle run-time exceptions?
What is the use of httpservletrequestwrapper?
How do servlets work?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
explain the advantages of servlet life cycle?