ブラウザに表示されるJSPファイルの作成。 入力されたID・パスワードを保持するアクション・フォームBeanの作成。 ID・パスワードの認証処理を行うアクション・クラスの作成。 Struts処理の振り先を決めるアクション・コンフィギュレーション・ファイルの作成。 ファイルの配置。 Tomcatの設定。 ※ アクション・サーブレットはStrutsであらかじめ用意されているものを使用します。 login.jsp <%-- (1) --%> <%@ page contentType="text/html; charset=Shift_JIS" %> <%-- (2) --%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <html> <head><title>login画面</title></head> <body> <h
![Javaの道:Struts(2.基本操作)](https://cdn-ak-scissors.b.st-hatena.com/image/square/489aa22d40686c294057ba97b70e1b56b818445c/height=288;version=1;width=512/http%3A%2F%2Fwww.javaroad.jp%2Fimages%2Fog_image.png)