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

Answers were Sorted based on User's Feedback



How to work with Chinese login page (internationalization).if he enters user name and password in..

Answer / rashmi

Using Locale Class, it may be done... try it using Locale
class...

Is This Answer Correct ?    2 Yes 0 No

How to work with Chinese login page (internationalization).if he enters user name and password in..

Answer / 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

How to work with Chinese login page (internationalization).if he enters user name and password in..

Answer / ravikiran

with the call to setLocale of the ServletResonse Interface

Is This Answer Correct ?    1 Yes 0 No

How to work with Chinese login page (internationalization).if he enters user name and password in..

Answer / imran

you r accepting input data as chinese from the form then u
might be having some special methods to convert from
chinese to English in the system applications itself..try
to find out them....

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Servlets Interview Questions

In jsp custom tags from child tags to how many levels of parent tags you can acess

1 Answers   Bosch,


What are the objects involved when a servlet receives a call from client?

0 Answers  


What is cookie? Why is cookie used?

0 Answers  


How two servlets communicate with each other?

2 Answers  


Elucidate servlet attributes and its scope?

0 Answers  






What is the purpose of requestdispatcher interface?

0 Answers  


What are the types of servlet?

0 Answers  


why we should override only no-agrs init() method.

0 Answers  


What is a servlet context?

0 Answers  


How can a servlet be used to generate plain text instead of html?

0 Answers  


Can you explain in detail 'javax.servlet' package?

0 Answers  


What is the life-cycle of servlets?

0 Answers  


Categories