「JSP」getParameter()でURLのパラメータを取得する
使用例
<%
if (request.getParameter("username") == null) {
out.println("ユーザ名が空白です.");
} else {
out.println("Hello <b>"+request. getParameter("username")+"</b>!");
}
%>
Coding Changes the World
使用例
<%
if (request.getParameter("username") == null) {
out.println("ユーザ名が空白です.");
} else {
out.println("Hello <b>"+request. getParameter("username")+"</b>!");
}
%>