文章列表
-----------------------------------------
"100":Continue
"101":witchingProtocols
"200":OK
"201":Created
"202":Accepted
"203":Non-AuthoritativeInformation
"204":NoContent
"205":ResetContent
" ...
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML> <HEAD> <TITLE>NewDocument</TITLE> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link href="css/ingrid.css" rel="stylesh ...
1.用myeclipse建一个web工程
2.导入struts1.2的框架模板
3.创建所需要的java类和jsp文件及tiles-defs.xml
4.配置struts-config.xml的plug-in
工程图如下:
5.LogonAction.java
package com.cenwave.action;
import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;
import org.apache ...