📄 search_page.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<jsp:useBean id="bean" scope="session" class="faq_project.FAQ_Bean" />
<body bgcolor="#ffffff" background="images2/bj.gif" text="#FFFFFF">
<%
if(session.getAttribute("message")!=null)
out.println("<font color=red>"+session.getAttribute("message").toString()+"</font>");
session.removeAttribute("message");
%>
<br />
<form action="servlet" method="POST">
<div align="right">关键字:
<input type="text" name="questiontitle" size="10"/>
选择类型:
<select name="typename">
<option selected>所有类型</option>
<%
String[] str=bean.getType();
int i=0;
while(i<str.length){
out.println("<option>"+str[i]+"</option>");
i++;
}
%>
</select>
<input type="submit" name="type" value="查找"/>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -