「Java/Tomcat/Tomcatメモ」の編集履歴(バックアップ)一覧に戻る
request.setAttribute("string", "文字列を渡す");
<%= request.getAttribute("string") %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page language="java" contentType="text/html; charset=Shift_JIS" pageEncoding="Shift_JIS" %>
<%@ page language="java" contentType="text/html; charset=EUC_JP" pageEncoding="EUC_JP" %>
<%= hogehoge %>
<meta http-equiv="Content-Type" content="text/html; charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Type" content="text/html; charset="EUC_JP">