<%@ page contentType="text/html; charset=EUC-JP" %> <%@ page language="java" %> <% String serverName = request.getServerName(); if (!serverName.startsWith("www")) { response.sendRedirect("http://www."+ serverName); return; } %> <% // ------------------------------- JSP Programming Section ---------------------------------------------- out.print("
"); out.print("JSP»« page."); out.print("[" + request.getServerName() + "]"); out.print("
"); // ------------------------------- JSP Programming Section End ------------------------------------------- %>