大野です

newpage.jsp が受け取る request のエンコーディングを
指定していないためだと思います。

> 
> newpage.jsp*************************************************
> 
> <[EMAIL PROTECTED] contentType="text/html;charset=Shift_JIS"%>
> <[EMAIL PROTECTED] pageEncoding="UTF-8"%>
> <%--
> The taglib directive below imports the JSTL library. If you uncomment it,
> you must also add the JSTL library to the project. The Add Library... action
> on Libraries node in Projects view can be used to add the JSTL 1.1 library.
> --%>
> 
> <[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%>

<%-- 以下の 2 行を追加 --%>
<[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt"%>
<fmt:requestEncoding value="Shift_JIS" />

> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>    "http://www.w3.org/TR/html4/loose.dtd";>
> 
> <html>

... 以下略

JSTL を使用しないのであれば
上記の 2 行の代わりに以下の行を追加すれば良いです

<% request.setCharacterEncoding("Shift_JIS"); %>

keiichi.oono
_______________________________________________
Netbeans-info mailing list
[email protected]
http://lists.sourceforge.jp/mailman/listinfo/netbeans-info

メールによる返信