Struts标签:
1.通用标签: (1)property (2)bean (3)param (4)debug
2.控制标签: (1)if elseif else (2)iterator
一、property标签
类似于上节课的例子,
1.在WebRoot下新建一个index_tags.jsp:
<%@ page language=\ import=\ pageEncoding=\%> <%
String path = request.getContextPath(); String basePath =
request.getScheme()+%uest.getServerPort()+path+\%>
href=\?username=aaa&password=bbb\>tags