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
Answer / rashmi
Using Locale Class, it may be done... try it using Locale
class...
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
Answer / ravikiran
with the call to setLocale of the ServletResonse Interface
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
can anybody send me j2ee softwares such as tomcat,weblogic server ,netbeans
What is the difference between servlet and filter?
What are the steps involved in placing a servlet within a package?
What is the capacity that doGet method can send to the server?
What’s the difference between forward() and sendredirect() methods?
Which java application server is the best?
what is the difference between Servlet and JSP?Advantage of JSP over Servelt?Any concept present in JSP which we cant implement in Servlet?
31 Answers ABC, Apere, AZTEC, CTS, CybAge, iFlex, Impact Systems, Sara, TCS,
What is servlet container?
Explain url encoding in servlet?
How native code can be used in a servlet?
What is getservletcontext?
What is DSN and System DSN and what is the difference between them?