比如 我输入www.abc.com能在叶面显示的时候能够自动变成超级链接,要求服务器端实现。能有现成代码最好。。谢谢先
解决方案 »
- 帮看一下jsp页面样式的问题。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
- 关于首页加载问题.超简单.
- jbpm4-web流程设计器(原型)支持全部浏览器
- IE点击后退后,的一些问题...(有例子代码,请高手帮忙解决) 分数不多,请大家帮忙
- 使用javaBean传递参数时的问题!
- 【又是session!】从模态窗口中用window.open打开的窗口取错了session~!
- 如果实现将查询结果保存到客户端?
- 看看有没有更好的计算两个时间分钟差的好方法了。
- JSP 从html表单读取数据时如何进行检查
- 我如何在frontpage中插入applet??现在我是插入出现一块(没有什么东东).
- 请问想尽快上手编写一个JAVA APPLET,用什么开发工具最好?
- 一个简单的问题,却很少有注意过
<%@ page contentType="text/html; charset=GBK"%><html>
<head>
<title>URL转换超链接</title>
<link href="/defaultroot/skin/blue/style.css" rel="stylesheet" type="text/css" /></head>
<body onload="resizeWin(650,300);" class="MainFrameBox Pupwin"><table width="100%" border="0" cellpadding="10" cellspacing="0" class="docBoxNoPanel">
<form name="form1" action="#" method="POST">
<tr>
<td colspan="2">
超级链接:<%if(request.getParameter("url")!=null){out.print("<a href='http://"+request.getParameter("url")+"'>"+request.getParameter("url")+"</a>");}%>
</td>
</tr>
<tr>
<td width="70" nowrap="nowrap">URL:</td>
<td >
<input name="url" type="text" class="inputText" style="width:100%"/>
</td>
</tr>
<tr>
<td colspan="2">
<button class="btnButton4font" onclick="javascript:form1.submit();">保存退出</button>
</td>
</tr>
</form>
</table>
</body>
</html>