|
руссификация сервлета
|
|||
---|---|---|---|
#18+
Где прописать, чтоб сервлет выводил кириллицу -а не "?????" ... |
|||
:
Нравится:
Не нравится:
|
|||
02.10.2003, 15:40 |
|
руссификация сервлета
|
|||
---|---|---|---|
#18+
Мдяяяяя... Ну вот ещё раз: /topic/42621 ... |
|||
:
Нравится:
Не нравится:
|
|||
02.10.2003, 16:01 |
|
руссификация сервлета
|
|||
---|---|---|---|
#18+
если Windows, то можно так : public void doGet( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { request.setCharacterEncoding("Cp1251"); response.setContentType( "text/html; charset=windows-1251" ); // get the communication channel with the requesting client PrintWriter out = response.getWriter(); out.println( .....); ... |
|||
:
Нравится:
Не нравится:
|
|||
02.10.2003, 17:44 |
|
|
start [/forum/topic.php?fid=59&fpage=858&tid=2154532]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
1ms |
others: | 12ms |
total: | 146ms |
0 / 0 |