Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Regarding Writing a geneneric Login Servlet

Posted on 2004-09-20
3
Medium Priority
?
152 Views
Last Modified: 2013-11-24
Hi,

I got one Login Servlet where user should enter his user name and password.How can I handle the input paramaters and allow an user in China or UAE to Login to my application If the user enter his user name and password in a language other than English ,say Chinese Alpphabest  or Arabic Alphabets  etc

Thanks in Advance
Chandrasekhar
0
Comment
Question by:chandrasekh
  • 2
3 Comments
 
LVL 18

Expert Comment

by:armoghan
ID: 12110160
1. One solution to teh problem could be to take name in different languages when you get a user registered and then check it for all the login names.

2. The other solution could be if somehow you  can get Keyboard Key pressed not the char pressed. and you can send the keys of teh keyboard to find match instead of the word typed
0
 
LVL 35

Accepted Solution

by:
girionis earned 1500 total points
ID: 12110312
Have all possible usernames in the database in unicode and let the container take care of it. Java is by default unicode so it shouldn't have any problem. Just make sure the database has the usernames in different languages and they point to the same user. Or maybe have a separate table that holds the tranlsations and link to it with the id of the user.
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12121878
Ahh I should have elaborated my point 1 :)
Good luck girionis
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question