摘要:
1、struts-html 2、struts-bean3、struts-logic一:<html> <html:form action="/reg" method="post"> <html:text property="account"/> <html:password property="password"/> <html:textarea... 阅读全文
摘要:
QueryForm.java(Struts_Method.QueryForm)import org.apache.struts.action.ActionForm;public class QueryForm extends ActionForm { private String sname; public Stringgetsname{return sname; }public void se... 阅读全文
摘要:
一:Servlet.javaString UserName=Request.getParameter("UserName");UserName=new String(UserName.getBytes("ISO-8859-1"));UsersDAO user=new UsersDAO();ArrayList users=user.queryByName(UserName);request.setA... 阅读全文