admin.jsp.svn-base
资源名称:cindyblog.rar [点击查看]
上传用户:cdpainuo
上传日期:2022-07-12
资源大小:5257k
文件大小:2k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
- <%
- 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">
- <script type="text/javascript" src="/js/richedit.js"></script>
- </head>
- <body>
- <h1>添加日志</h1>
- <form action="/admin?m=addJournal" method="post" name="f1">
- <input type="text" name="title"/> <label>标题</label><p/>
- <input type="text" name="type"/><label>分类</label><p/>
- <script type="text/javascript">
- var editor1 = new EDITOR();
- editor1.create();
- </script>
- <input type="submit" value="提交" onclick="rtoStore();document.f1.submit();">
- </form>
- <h1>添加类型</h1>
- <form action="/admin?m=addType" method="post">
- <input type="text" name="name"/>类型<p/>
- <input type="submit" value="提交">
- </form>
- <h1>添加留言</h1>
- <form action="/admin?m=addMessage" method="post">
- <input type="text" name="name"/>姓名<p/>
- <textarea style="width:600px" name="content"></textarea><p/>
- <input type="submit" value="提交">
- </form>
- <h1>添加链接</h1>
- <form action="/admin?m=addLink" method="post">
- <input type="text" name="name"/>名称<p/>
- <input type="text" name="url"/>链接<p/>
- <input type="submit" value="提交">
- </form>
- <h1>添加评论</h1>
- <form action="/admin?m=addDiscuss" method="post">
- <input type="text" name="name"/>姓名<p/>
- <input type="text" name="title"/>标题<p/>
- <input type="text" name="aid"/>标题id<p/>
- <textarea style="width:600px" name="content"></textarea><p/>
- <input type="submit" value="提交">
- </form>
- </body>
- </html>