I am reading in my servlet a value from a form, which the value is written in Greek with
s1 = request.getParameter("Name");
However if I print it to the log right after the above,I get a $%^&. Moreover if save it in my DB (SQLite) and later read this value I get also a $%^& In my jsp page I have added:
<%@page contentType="text/html" pageEncoding="UTF-8" language="java" %>
and in the server.xml
there is the URIEncoding="utf-8"