Servlet Engine
Login locally
Administrative Access
v 5.5.4
v 1.5
.;
Servlet-api.jar
Create Directory Structure
Locate Servlet API Documentation
Write Servlet
Compile Servlet
Deploy Servlet (locally)
Test Servlet
Login System
Application
Control Servlet
View JSPs
Model POJO
Recognizing originating view
Recognizing User Action/Intent
Interacting with the Model
Passing control to another component
Passing Model results from control to another component
Scope/Duration of stateTools
J2EE Project
Web Project
Struts Framework & tools
HTML/JSPsConstructs
Java packages for actions, formBeans, & models
ActionForward
ActionErrors
request.getSession();
(String)request.getParameter("userAction")
mapping.findForward("name")
request.setAttribute("name", formbean)
session.setAttribute("name", formbean)
return forward
Code
FormBeanLogin
ActionCreateLogin
ModelLogin
createLogin.jsp