<action-mappings> <action path="/Login" type="LoginAction" name="loginForm" scope="request" input="/pages/login.jsp" validate="true"> <forward name="success" path="/pages/top.jsp" /> <forward name="error" path="/pages/login.jsp" /> </action> <action path="/Logout" type="LogoutAction"> <forward name="success" path="/pages/login.jsp" /> </action> </action-mappings>