[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

web application

I am developing a web application with Java in order to retrieve data from a mssql database
 I have a problem in the form in the JSP it doesn't recognize the Greek characters i am entering ... In the form I will input 3 characters(the first 3) in Greek and 8 numbers,in total 11.
and secondly I would like to know to restict the number of total characters to be entered in the form  to 11 as well
A field example i will enter in the form is "š¥ 00000034" or "•¤¡00563423"

thank you in advance.

<form name="Search" action="show_account_info.jsp" method="post">
            ¤±ÅÄÌķı  µ»¬Ä·:<input type="text" name="cli">
            <input type="submit" value="Search">

Open in new window

0
semltd
Asked:
semltd
1 Solution
 
Murali MurugesanFull stack Java developerCommented:
see this for Greek encoding,

http://www.experts-exchange.com/Programming/Languages/Java/J2EE/JSP/Q_21449208.html

for restricting the length

<input type="text" name="cli" maxlength="11"/>

-Murali*
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now