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 / ravikiran
with the call to setLocale of the ServletResonse Interface
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the steps that are involved in using the httpservlet class?
What are the features added in Servlet 2.5?
What are some disadvantages of storing session state in cookies?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
How forward () method is different from send redirect () method?
What is the difference between portlet and servlet?
How to get the actual path of servlet in server?
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()?
What are the types of an http request?
What is servlet and its advantages?
What is the difference between Difference between doGet() and doPost()?
What is the major difference between servlet and applet?
What mechanisms are used by a Servlet Container to maintain session information?
What exception should be thrown when servlet is not properly initialized?
How to get the current httpsession object?