Step 1- Create text field which should be support the hindi. For this I’m using “keyboard.js” of hinkhoj. Include this js in your page and create input field.
Step 2- create a table in database (I’m using MySql as database).
Note: CHARSET=utf8 COLLATE=utf8_unicode_ci;
This is for hindi support.
Step 3- Create jsp (hindi.jsp). In this jsp create a form with one hindi text field and submit button. Send request to same jsp and get the entered name in hindi text field as request parameter. And store it into to db and later get it and display into page.