Solved

Regarding Writing a geneneric Login Servlet

Posted on 2004-09-20
3
134 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

738 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