📄 post.jsp
字号:
<%@ 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 'post.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">
-->
<link rel="stylesheet" rev="stylesheet" href="css/block.css" />
</head>
<body>
<div id="rightWraper">
<div class="text">
<div>发表文章</div><hr size="1" />
<form action="servlet/PublishDO?blockId=${param.blockId}" method="post" enctype="multipart/form-data">
<input type="hidden" name="blockId" value="${param.blockId}">
<div style="float: left; margin-left:20px; margin-top: 10px; ">文章主题:<input type="text" size="25" id="title" name="title" style="background-color: #EBE39A; height:18px;" /></div>
<div style="margin-left: 400px; margin-top: 10px; ">悬赏分数:<input type="text" size="5" name="score" id="score" style="background-color: #EBE39A; height:18px;" /></div>
<div style="margin:20px 10px;">
<textarea id="passage" name="passage" cols="80" rows="10">pp</textarea><br />
<input type="submit" value="发 表" />
<input type="reset" value="清 除" />
<input type="submit" value="返 回" />
</div>
<hr />
<div id="shangchuan">
<input type="file" id="resume" name="nameTwo" />
<input style="width:50px; height:20px; " type="submit" value="上传" name="nameThree" />
</div>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -