Greeting, When i try to put the field have Arabic name and handle it in servlet I give null value. Though when handle all parameters name I see the parameter name as garbage.
This page hava input field: <[EMAIL PROTECTED] <[EMAIL PROTECTED]> contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h2>Hello World!</h2> <form action="RoutFirst" method="post"> <input type="hidden" name="مؤيد" value="anyOne"> <input type="submit"> </form> </body> </html> ------------------------------------------------------ this method handle the parameter: protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); try { String s=request.getParameter("مؤيد"); Enumeration eenum=request.getParameterNames(); //TODO output your page here out.println("<html>"); out.println("<head>"); out.println("<title>Servlet RoutFirst</title>"); out.println("</head>"); out.println("<body>"); out.println("<h1>Servlet RoutFirst at " + s + "</h1>"); while(eenum.hasMoreElements()){ out.println("<h1>Servlet RoutFirst at " + eenum.nextElement() + "</h1>"); } out.println("</body>"); out.println("</html>"); } finally { out.close(); } } ----------------------------------------------------------------------- this the out put: *Servlet RoutFirst at null* *Servlet RoutFirst at Ù Ø¤ÙØ¯ * the first value is null when I called in Arabic. the second value the name of parameter but in different shaped. FYI the .NET Technology handle it as well as Arabic.