分类分类
关注+2010-02-22作者:
编写简单ASP代码测试WEB服务器环境:
<HTML>
<HEAD>
<TITLE>测试WEB服务器</TITLE>
</HEAD>
<BODY>
<Script language=jscript runat=server>
response.write ("<table border=1>");
response.write ("<tr><td>脚本引擎</td><td>");
response.write (ScriptEngine()+"</td></tr>");
response.write ("<tr><td>编译版本</td><td>");
response.write (ScriptEngineBuildVersion()+"</td></tr>");
response.write ("<tr><td>主 版 本</td><td>");
response.write (ScriptEngineMajorVersion()+"</td></tr>");
response.write ("<tr><td>次 版 本</td><td>");
response.write (ScriptEngineMinorVersion()+"</td></tr>");
response.write ("</table>");
</script>
<Script language=vbscript runat=server>
response.write "<table border=1>"
response.write "<tr><td>脚本引擎</td><td>"
response.write ScriptEngine() & "</td></tr>"
response.write "<tr><td>编译版本</td><td>"
response.write ScriptEngineBuildVersion() & "</td></tr>"
response.write "<tr><td>主 版 本</td><td>"
response.write ScriptEngineMajorVersion() & "</td></tr>"
response.write "<tr><td>次 版 本</td><td>"
response.write ScriptEngineMinorVersion() & "</td></tr>"
response.write "</table>"
</script>
</body></html>
相关文章
更多+相同厂商
热门推荐
点击查看更多
点击查看更多
点击查看更多
说两句网友评论