asp伪静态的方法有很多种,下面介绍一种简单的方式
比如
<a href="aboutasp?type=about" class="nav">关于我们</a>
可以转换为
<a href="about/?about.html" class="nav">关于我们</a
具体实现:
1、新建index.asp
<html> <head> <title>index.asp 导航栏</title> </head> <body> <div class="menuItem"> <a href="about/?about.html" class="nav">关于我们</a> </div> </body> </html>
2、新建about/index.asp
<html>
<head>
<title>about/index.asp 关于我们页面</title>
</head>
<body>
<%
page = Request.ServerVariables("QUERY_STRING")
type = replace(page,".html","")
'得到type之后
'然后进行自己的操作就可以了
%>
</body>
</html>