系统原型结构描述(十一)
2008-07-29 09:21
393 查看
chart
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/";
%>
<%
System.out.println(request.getSession().getId());
System.out.println(request.getSession().getAttribute("JFreeChart_Deleter"));
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">width="<s:property
value="width"/>" height="<s:property value="height"/>"
-->
</head>
<body>
<table>
<tr>
<td> <img src="<%=request.getContextPath()+"/ChartServlet?
filename="+request.getAttribute("filename")%>"/></td>
</tr>
</table>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
drools
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<H2>Input your name</H2><p/>
1 OR 0
<s:form action="drools" method="POST">
<s:textfield label="Status" name="status" value="%{status}"/>
<s:submit value="Submit the form"/>
</s:form>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
edit
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<s:head debug="true" theme="ajax"/>
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<H2>Input your name</H2>
<s:form action="save" method="POST" validate="true">
<s:hidden name="id" value="%{id}"/>
<s:textfield label="Name" name="name" value="%{name}"/>
<s:textfield label="Author" name="author" value="%{author}"/>
<s:textfield label="Summary" name="summary" value="%{summary}"/>
<s:submit value="Submit the form"/>
</s:form>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
input.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:i18n name="com.test.action.edit.FindEditAction"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<%
out.println(request.getAttribute("struts.token"));
out.println(session.getId());
%>
<body>
<H2><s:property value="%{getText('Find.Title')}"/></H2>
<s:form action="findProcess" method="POST">
<s:token/>
<s:textfield label="Key" name="key" value="%{key}"/>
<s:submit value="Submit the form"/>
</s:form>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
result.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<%
out.println(request.getAttribute("struts.token"));
out.println(session.getAttribute("struts.token"));
%>
<table>
<tr>
<td> id</td>
<td> 书名</td>
<td> 作者</td>
<td> 摘要</td>
<td> 编辑</td>
<td> 删除</td>
<td> </td>
<td> </td>
</tr>
<s:if test="%{list.size} == 0">
<tr>
<td> Not found!</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</s:if>
<s:else>
<s:iterator value="list" id="book" status="u">
<tr>
<td> <s:property value="id"/></td>
<td> <s:property value="name"/></td>
<td> <s:property value="author"/></td>
<td> <s:property value="summary"/></td>
<td> <a href="<s:url action="edit" portletMode="edit">
<s:param name="id"><s:property value="id"/></s:param>
</s:url>">Edit</a></td>
<td> <a href="<s:url action="delete" portletMode="edit">
<s:param name="id"><s:property value="id"/></s:param>
</s:url>">Del</a></td>
<td> </td>
</tr>
</s:iterator>
</s:else>
<tr>
<td> <ul>
<li><a href="<s:url action="find"/>">Back</a></li>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/";
%>
<%
System.out.println(request.getSession().getId());
System.out.println(request.getSession().getAttribute("JFreeChart_Deleter"));
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">width="<s:property
value="width"/>" height="<s:property value="height"/>"
-->
</head>
<body>
<table>
<tr>
<td> <img src="<%=request.getContextPath()+"/ChartServlet?
filename="+request.getAttribute("filename")%>"/></td>
</tr>
</table>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
drools
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<H2>Input your name</H2><p/>
1 OR 0
<s:form action="drools" method="POST">
<s:textfield label="Status" name="status" value="%{status}"/>
<s:submit value="Submit the form"/>
</s:form>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
edit
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()
+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<s:head debug="true" theme="ajax"/>
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<H2>Input your name</H2>
<s:form action="save" method="POST" validate="true">
<s:hidden name="id" value="%{id}"/>
<s:textfield label="Name" name="name" value="%{name}"/>
<s:textfield label="Author" name="author" value="%{author}"/>
<s:textfield label="Summary" name="summary" value="%{summary}"/>
<s:submit value="Submit the form"/>
</s:form>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
input.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:i18n name="com.test.action.edit.FindEditAction"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<%
out.println(request.getAttribute("struts.token"));
out.println(session.getId());
%>
<body>
<H2><s:property value="%{getText('Find.Title')}"/></H2>
<s:form action="findProcess" method="POST">
<s:token/>
<s:textfield label="Key" name="key" value="%{key}"/>
<s:submit value="Submit the form"/>
</s:form>
<ul>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul>
</body>
</html>
result.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'MyJsp.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<%
out.println(request.getAttribute("struts.token"));
out.println(session.getAttribute("struts.token"));
%>
<table>
<tr>
<td> id</td>
<td> 书名</td>
<td> 作者</td>
<td> 摘要</td>
<td> 编辑</td>
<td> 删除</td>
<td> </td>
<td> </td>
</tr>
<s:if test="%{list.size} == 0">
<tr>
<td> Not found!</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</s:if>
<s:else>
<s:iterator value="list" id="book" status="u">
<tr>
<td> <s:property value="id"/></td>
<td> <s:property value="name"/></td>
<td> <s:property value="author"/></td>
<td> <s:property value="summary"/></td>
<td> <a href="<s:url action="edit" portletMode="edit">
<s:param name="id"><s:property value="id"/></s:param>
</s:url>">Edit</a></td>
<td> <a href="<s:url action="delete" portletMode="edit">
<s:param name="id"><s:property value="id"/></s:param>
</s:url>">Del</a></td>
<td> </td>
</tr>
</s:iterator>
</s:else>
<tr>
<td> <ul>
<li><a href="<s:url action="find"/>">Back</a></li>
<li><a href="<s:url action="index" portletMode="view"/>">Index</a></li>
</ul></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
相关文章推荐
- 系统原型结构描述(六)
- 系统原型结构描述(七)
- 系统原型结构描述(一)系统原型开发包目录结构清单
- 系统原型结构描述(八)
- 系统原型结构描述(二)系统原型开发包说明
- 系统原型结构描述(九)
- 系统原型结构描述(概述)最近要设计一个框架,大家一起讨论下如何实现?
- 系统原型结构描述(三)
- 系统原型结构描述(十)
- 系统原型结构描述(四)
- 系统原型结构描述(十二)
- 系统原型结构描述(五)
- Linux下IP协议使用的地址描述数据结构结构的典型原型声明
- PowerDesigner(八)-面向对象模型(用例图,序列图,类图,生成Java源代码及Java源代码生成类图)面向对象模型 面向对象模型是利用UML(统一建模语言)的图形来描述系统结构的模型,
- 加载内核模块,实现新的系统调用:遍历系统当前所有进程的任务描述符,并将pid组织成树状结构显示
- UML中如何描述系统的体系结构(二)
- UML中如何描述系统的体系结构(三)
- 虚拟文件系统相关结构描述
- 虚拟文件系统相关结构描述【续】
- 关于三层结构的描述