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

What is servlet in simple terms?

574


How can you run a servlet program?

601


Why do we have servlet wrapper classes?

580


Can you call a jsp from the servlet?

548


Explain the role of dispatcherservlet and contextloaderlistener.

610






What exactly is a servlet?

547


What do you mean by cgi?

534


What are the common methods that are included in the http servlet class?

580


What do you mean by cgi in servlet?

633


How can you use a servlet to generate a plain text instead of html?

596


Can you create a deadlock condition on a servlet?

589


Why are servlets used?

534


Is tomcat a servlet container?

579


What is Servlet API used for connecting database?

622


Why do we need a constructor in a servlet if we use the init method?

522