<action-mappings> <action path="/ex1_view" type="sample.exception.SampleExceptionAction" name="Ex1Form" scope="session" input="/jsp/exception/ex1.jsp"> <exception type="java.lang.IllegalStateException" key="errors.illeagal" /> <forward name="success" path="/jsp/exception/ex1_view.jsp" /> </action> </action-mappings>
<%@ page pageEncoding = "Shift_JIS" %> <%@ page contentType="text/html; charset=Shift_JIS" %> <%@ taglib uri="/tags/struts-html" prefix="html" %>
<html><body> <B>エラー画面</B><BR><BR> <html:errors/> </body></html>