⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testtemp.jsp

📁 简单的日志分析工具
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB2312"
    pageEncoding="GB2312"%>
    
<html xmlns="http://www.w3.org/1999/xhtml" >

<head>

<title>标题页</title>

</head>

<body>

<form Name="InputForm">

<div align="center"><center><p>

<script language="JavaScript">

var FirstForm;

function StartSearch()

{

//使用隐藏控件保存用户输入的查询参数

document.forms[FirstForm+document.InputForm.SearchSelect.

selectedIndex].elements[0].value=document.InputForm.SearchWords.value;

//提交查询参数到指定网站

document.forms[FirstForm+document.InputForm.SearchSelect.selectedIndex].submit();

}

</script>

<span style="font-size: 9pt">查找内容:</span>

<input name="SearchWords" type="text" size="21" style=" margin-left: 1px"><br>

<span style="font-size: 9pt">搜索引擎:</span>

<select Name="SearchSelect" size="1" >

<option selected>英文Yahoo</option>

<option value="Google搜索">中文Google</option>

<option value="百度搜索">百度中文搜索</option>

</select><br>

<input type="button" value=" 开始查找 " onClick="StartSearch()"> 

<script language="JavaScript">

FirstForm=document.forms.length

</script></p>

</center></div>

</form>

<form action="http://search.yahoo.com/bin/search" method="get">

<input type="hidden" name="p" value>

</form>

<form action="http://www.google.com/search">

<input type="hidden" name="q" value>

</form>

<form action="http://www.baidu.com/s">

<input type="hidden" name="wd" value>

</form>

</body>

</html>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -