- JSP 0.9
<% ActionForm form = (ActionForm) request.getAttribute(”LoginForm”); %>
<%= form.getUserName()%>
- JSP 1.0
<jsp:useBean id=“form" class=“be.uniway.LoginForm" />
<jsp:getProperty name=“form" property=“userName" />
- Struts
<bean:write name=“loginForm" property="userName"/>
- JSP 1.2
<c:out value} ="${loginForm.userName}">
- JSP 2.0
${loginForm.userName}
No comments:
Post a Comment