请教高手:如何进行搜索链接? 到www.hao123.com看他 的代码不就知道啊~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我看了,那个不显示jsp代码的! 请研究一下google的首页:(对不起,太长了)<html><head><meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312"><title>Google搜索: </title><style><!--body,td,div,.p,a{font-family: }div{line-height:120%}div,td{color:#000}.f,.fl:link{color:#6f6f6f}a:link,.w,a.w:link,.w a:link{color:#00c}a:visited,.fl:visited{color:#551a8b}a:active,.fl:active{color:#f00}.t a:link,.t a:active,.t a:visited,.t{color:#ffffff}.t{background-color:#3366cc}.h{color:#3366cc;font-size:14px}.i,.i:link{color:#a90a08}.a,.a:link{color:#008000}.z{display:none}div.n {margin-top: 1ex}.n a{font-size:10pt; color:#000}.n .i{font-size:10pt; font-weight:bold}.q a:visited,.q a:link,.q a:active,.q {text-decoration: none; color: #00c;}.b{font-size: 12pt; color:#00c; font-weight:bold}.ch{cursor:pointer;cursor:hand}.e{margin-top: .75em; margin-bottom: .75em}.g{margin-top: 1em; margin-bottom: 1em}//--></style><script><!--function ss(w){window.status=w;return true;}function cs(){window.status='';}//--></script><script><!--function ga(o,e){if (document.getElementById){a=o.id.substring(1); p = "";r = "";g = e.target;if (g) { t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h) r = h.id;}} else{h = e.srcElement;f = h.parentNode;if (f) p = f.id;t = h.id;}if (t==a || p==a || r==a) return true;location.href=document.getElementById(a).href}}//--></script></head><body bgcolor=#ffffff onLoad="document.gs.reset()"><table border=0 cellpadding=0 cellspacing=0><tr><td rowspan=3 valign=top><table cellpadding=0 cellspacing=0 border=0><tr><td align=right valign=bottom><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res0.gif alt="Google 首页" border=0 width=110 height=58></a></td><td valign=bottom><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res1.gif border=0 width=38 height=58 alt=""></a></td><td valign=bottom><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res2.gif border=0 width=52 height=58 alt=""></a></td></tr><tr><td align=right valign=top class=h><b> </b></td><td valign=top><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res3.gif border=0 width=38 height=20 alt=""></a></td><td valign=top><font color=#6f6f6f style=font-size:14px> </font></td></tr></table></td><td nowrap><font size=-1><a href=/advanced_search?hl=zh-CN&lr=&ie=UTF-8&inlang=zh-CN>高级搜索</a> <a href=/preferences?hl=zh-CN&lr=&ie=UTF-8&inlang=zh-CN>使用偏好</a> <a href=/language_tools?hl=zh-CN&lr=&ie=UTF-8&inlang=zh-CN>语言工具</a> <a href=/intl/zh-CN/help.html>搜索建议</a> </font></td></tr><tr><td valign=middle><form name=gs method=GET action=/search><input type=hidden name=hl value="zh-CN"><input type=hidden name=inlang value="zh-CN"><input type=hidden name=ie value="GB2312"><input type=text name=q size=31 maxlength=2048 value=""><font size=-1> <input type=submit name="btnG" value="Google搜索"><span id=hf></span></font></td></tr><tr><td><font size=-1><input type=radio name=lr value="" checked>搜索所有网站 <input type=radio name=lr value=lang_zh-CN|lang_zh-TW >搜索所有中文网页<input type=radio name=lr value=lang_zh-CN >搜索简体中文网页 </font></td></tr></form></table><br><center><p><hr class=z><table width=100% cellpadding=2 cellspacing=0 border=0><tr><td class=t align=center><font size=-1> </font></table><br><font size=-1 class=p>©2003 Google</font></center></body></html> 你的html和javascript还不过关呀,快去补一补 因为我才自学一个月,还没怎么看过javascript,而且我想用jsp来写这个搜索链接。拜托各位能不能具体一点写出如何链接呀? 加入这一段,其他象baidu,sina类似,找到form就可以了<form name=gs method=GET action=http://www.google.com/search><input type=hidden name=hl value="zh-CN"><input type=hidden name=inlang value="zh-CN"><input type=hidden name=ie value="GB2312"><input type=text name=q size=31 maxlength=2048 value=""><font size=-1> <input type=submit name="btnG" value="Google搜索"><span id=hf></span></font></td></tr><tr><td><font size=-1><input type=radio name=lr value="" checked>搜索所有网站 <input type=radio name=lr value=lang_zh-CN|lang_zh-TW >搜索所有中文网页<input type=radio name=lr value=lang_zh-CN >搜索简体中文网页 </font></td></tr></form> 如何在外部修改web项目的context-root(web发布名称) flex4+java整合 关于单选框选中验证的语法错误 jsp使用javabean出现问题,求帮忙 100分求一个ajax+jsp无限级目录树的例子,要带记忆节点功能。 setAttibute后为什么在另一个页面中取不到? 各位帮我看一下这条SQL语句错在哪? 几天没来升到4个角,散分!!! 在jsp中怎么实现打印页面的一部分,进来看看 关于jspSmartUpload在TOMCAT中如何设置? 紧急求救!如何tomcat4.1中配置基于表单的认证? 如何判断用户已登录------在线求救!!!
<html><head><meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312"><title>Google搜索: </title><style><!--
body,td,div,.p,a{font-family: }
div{line-height:120%}
div,td{color:#000}
.f,.fl:link{color:#6f6f6f}
a:link,.w,a.w:link,.w a:link{color:#00c}
a:visited,.fl:visited{color:#551a8b}
a:active,.fl:active{color:#f00}
.t a:link,.t a:active,.t a:visited,.t{color:#ffffff}
.t{background-color:#3366cc}
.h{color:#3366cc;font-size:14px}
.i,.i:link{color:#a90a08}
.a,.a:link{color:#008000}
.z{display:none}
div.n {margin-top: 1ex}
.n a{font-size:10pt; color:#000}
.n .i{font-size:10pt; font-weight:bold}
.q a:visited,.q a:link,.q a:active,.q {text-decoration: none; color: #00c;}
.b{font-size: 12pt; color:#00c; font-weight:bold}
.ch{cursor:pointer;cursor:hand}
.e{margin-top: .75em; margin-bottom: .75em}
.g{margin-top: 1em; margin-bottom: 1em}
//-->
</style>
<script>
<!--
function ss(w){window.status=w;return true;}
function cs(){window.status='';}
//-->
</script>
<script>
<!--
function ga(o,e){if (document.getElementById){a=o.id.substring(1); p = "";r = "";g = e.target;if (g) { t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h) r = h.id;}} else{h = e.srcElement;f = h.parentNode;if (f) p = f.id;t = h.id;}if (t==a || p==a || r==a) return true;location.href=document.getElementById(a).href}}
//-->
</script>
</head><body bgcolor=#ffffff onLoad="document.gs.reset()"><table border=0 cellpadding=0 cellspacing=0><tr><td rowspan=3 valign=top><table cellpadding=0 cellspacing=0 border=0><tr><td align=right valign=bottom><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res0.gif alt="Google 首页" border=0 width=110 height=58></a></td><td valign=bottom><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res1.gif border=0 width=38 height=58 alt=""></a></td><td valign=bottom><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res2.gif border=0 width=52 height=58 alt=""></a></td></tr><tr><td align=right valign=top class=h><b> </b></td><td valign=top><a href=http://www.google.com/webhp?hl=zh-CN><img src=/images/res3.gif border=0 width=38 height=20 alt=""></a></td><td valign=top><font color=#6f6f6f style=font-size:14px> </font></td></tr></table></td><td nowrap><font size=-1><a href=/advanced_search?hl=zh-CN&lr=&ie=UTF-8&inlang=zh-CN>高级搜索</a> <a href=/preferences?hl=zh-CN&lr=&ie=UTF-8&inlang=zh-CN>使用偏好</a> <a href=/language_tools?hl=zh-CN&lr=&ie=UTF-8&inlang=zh-CN>语言工具</a> <a href=/intl/zh-CN/help.html>搜索建议</a> </font></td></tr><tr><td valign=middle><form name=gs method=GET action=/search><input type=hidden name=hl value="zh-CN"><input type=hidden name=inlang value="zh-CN"><input type=hidden name=ie value="GB2312"><input type=text name=q size=31 maxlength=2048 value=""><font size=-1> <input type=submit name="btnG" value="Google搜索"><span id=hf></span></font></td></tr><tr><td><font size=-1><input type=radio name=lr value="" checked>搜索所有网站 <input type=radio name=lr value=lang_zh-CN|lang_zh-TW >搜索所有中文网页<input type=radio name=lr value=lang_zh-CN >搜索简体中文网页 </font></td></tr></form></table><br><center><p><hr class=z><table width=100% cellpadding=2 cellspacing=0 border=0><tr><td class=t align=center><font size=-1> </font></table><br><font size=-1 class=p>©2003 Google</font></center></body></html>
拜托各位能不能具体一点写出如何链接呀?