I'm run my app in tomcat 6.20 and all work good, but if run have encoding problem. I input russian text in field username(тест) and send request. In servlet and trace in insight i see лÑзоваÑелÑ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF8" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<form action="/mvc/authenticate" method="post" id="form">
<input type="text" name="j_username" id="username" />
<input type="password" id="pwd" name="j_password" value="" />
<input type="submit" value="Вход" class="button"/>
</form>
</body>


Reply With Quote