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 |
The code in a finally clause will never fail to execute, right?
What are the features added in Servlet 2.5?
What is load-on-startup in servlet?
Is the init(ServletConfig sc) throws IOException or not?
Which httpsession object is used to view and manipulate information about a session?
Is that servlet is pure java object or not?
What do you understand by mime type?
what is the difference between servlets and struts?
What are session variable in servlets?
difference between sendredirect,forward and url rewritting
What is the difference between ExecuteUpdate and ExecuteQuery?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?