<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>theZ</title>
    <description></description>
    <link>http://thez.javaeye.com</link>
    <language>UTF-8</language>
    <copyright>Copyright 2003-2008, JavaEye.com</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>JavaEye - 做最棒的软件开发交流社区</generator>
      <item>
        <title>asp获取当前完整路径</title>
        <author>theZ</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://thez.javaeye.com">theZ</a>&nbsp;
          链接：<a href="http://thez.javaeye.com/blog/185837" style="color:red;">http://thez.javaeye.com/blog/185837</a>&nbsp;
          发表时间: 2008年04月23日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="html">
&lt;%
function GetUrl()
  on Error Resume Next
  Dim strTemp
if LCase(request.ServerVariables("HTTPS")) = "off" Then
strTemp = "http://"
Else
strTemp = "https://"
  end if
  strTemp = strTemp & Request.ServerVariables("SERVER_NAME")
  if Request.ServerVariables("SERVER_PORT") &lt;> 80 Then strTemp = strTemp & ":" & Request.ServerVariables("SERVER_PORT")
  strTemp = strTemp & Request.ServerVariables("URL")
  if trim(request.QueryString) &lt;> "" Then strTemp = strTemp & "?" & Trim(Request.QueryString)
  GetUrl = strTemp
End Function
response.write GetUrl()
%>
</pre>
          <br/>
          <span style="color:red;">
            <a href="http://thez.javaeye.com/blog/185837#comments" style="color:red;">本文的讨论也很精彩，浏览讨论>></a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">北京: 千橡集团暨校内网诚聘软件研发工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Wed, 23 Apr 2008 12:08:00 +0800</pubDate>
        <link>http://thez.javaeye.com/blog/185837</link>
        <guid>http://thez.javaeye.com/blog/185837</guid>
      </item>
  </channel>
</rss>