Response.Redirect( url );无法跳转?!

来源:百度知道 编辑:UC知道 时间:2024/06/02 09:02:55
我用C#编了一个ShoppingTest项目,在项目下有一个文件夹Product,现在想从项目文件夹下的Defuat页面跳到Product中的Test页面,代码如下: private void Button1_Click(object sendeSystem.EventArgs e)
{
string url = "../Prodeuct/Test.aspx";
Response.Redirect( url );

可是老报“无法找到资源”的错!
为什么?
在同一目录之间跳转是完全正常的。
主目录下的文件之间可以跳转,Product下的文件之间也可以跳转,就是主目录下的文件不能跳转到Product下的文件

html的:
<meta http-equiv="refresh" content="5;URL=http://yrxj.vicp.cc">

asp的:
function go()
{window.location.href="http://yrxj.vicp.cc";}

setTimeout("go()",5000);
重新设置下