Transformation of enterprise-level Java Development and architecture programmers in practice
J2EE-based Ajax; Electronic Auction System
Struts with Ajax, input validation, struts2 authoritative guide Li Gang
Java utility component set validation component
Java practical component set
Http://www.jrsoft.com.cn/html/download.asp
JSP label usage (jstl)
<% @ Taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "C" %>
C: Out is equivalent to <% = %>.
C: foreach Var = "I" items =$ {mylist} error because request. setattribute ("mylist", mylist) is missing;
El usage (What should I do if the name is garbled in Chinese and the set has a range)
<% @ Taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "C" %>
<JSP: usebean id = "DBO" class = "com. pp. DB. dboperate"> </jsp: usebean>
<Table width = "780" border = "0" cellspacing = "0" cellpadding = "5">
<%
DBO. setlength (10 );
String hql = "from music order by orders ";
List mylist = DBO. findsqlhibernate (hql, 1 );
// Int n = mylist. Size ();
Request. setattribute ("mylist", mylist); // set the value; otherwise, the value cannot be obtained.
%>
<C: foreach Var = "N" items = "$ {mylist}">
<Tr>
<TD> <C: Out value = "$ {n. ID}"> </C: Out> </TD>
<TD> <C: Out value = "$ {n. name}"/> </TD>
</Tr>
</C: foreach>
</Table>