地址栏只显示IP地址(所有的页面) 这个怎么弄..???请求帮助.比如说(所有的页面的地址栏就用一个IP地址:192.168.0.7来显示) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 玩笑开大了,怕整不成。理论上可以,每个页面放一个文件夹,页面名称全部用服务器规定的缺省名称如:default.aspx,然后把每个文件夹设为虚拟目录,当然,这个整法比较变态。^_^ 我想楼主只是想页面跳转的时候不改变地址栏的URL吧如果是用:Server.Transfer 弄个隐含url地址的Url转发就可以了,或者自己用框架实现 试试看用URL ReWrite应该可以做到! 小弟刚出来混,会的东西比较少,公司就让改这个,我从来没有用过,,还是请大家说的确切一点.给的任务就是这么说的,所以我都晕了..还是请大家能把详细的做法写上,,,多谢大家了...!!!! a za a za fithging !!!!! 大家还多给我点提示,那个用框架实现怎么写,还有那个隐含URL怎么用....我都是在线等的..rewrite 这个是Response.Redirect 这个...... 帮助Context.RewritePath("HttpContext_Next.aspx");中的Context引用不进来.... 我说的url转发是指域名转发,一般的域名注册商都有这个服务 将Response.Redirect(...)改为Server.Transfer(...)地址栏将保持当前页 Server.Transfer 这个是一个好的方法. 现在我只是一个网站的修改,里有很多的链接都是这样的:<map name="Map2"><area shape="rect" coords="167,9,224,24" href="#" onclick = "window.open('IncFile.aspx');return false"><area shape="rect" coords="655,9,707,22"><!--area shape="rect" coords="764,8,815,20"--><area shape="rect" coords="705,33,706,38" href="#"><area shape="rect" coords="12,6,46,22" href="main.aspx" id="default"><area shape="rect" runat="server" id="diceyuancheng" coords="43,35,102,51" href="#" /><area shape="rect" runat="server" id="tongfeng" coords="137,35,198,52" href="#" /><area shape="rect" runat="server" id="gongdian" coords="242,31,300,52" href="#" /><area shape="rect" runat="server" id="diaodu" coords="340,33,400,51" href="#" /><area shape="rect" runat="server" id="jidian" coords="434,34,495,50" href="#" /><area shape="rect" runat="server" id="wasijiace" coords="539,34,596,51" href="#" /><area shape="rect" runat="server" id="shangchuan" coords="751,7,822,24" href="#" /><area shape="rect" coords="624,34,681,51"/><area shape="rect" coords="732,36,793,52"/><area shape="rect" coords="460,9,518,23" href="#" onclick="window.open('Attemper.aspx');return false" /><area shape="rect" coords="73,9,129,23" href="#" onclick = "window.open('IncReferral.aspx');return false" /><area shape="rect" coords="270,8,323,23" href="#" onclick = "window.open('SuperiorFile.aspx');return false" /><area shape="rect" coords="369,7,427,24" href="#" onclick = "window.open('PartyWorks.aspx');return false" /><area shape="rect" coords="566,7,622,23" href="http://192.168.190.125" target="_blank" /></map> 出来混还是不容易的.. 我也是个菜鸟。我这里现在在做的网站是用FRAME开发的,可以实现你说的效果。可是实现过程太复杂了,全是用JS控制的。帮你顶一下吧。 server.Transfer()或者框架都可以 <iframe style="border-left: black thin solid; width: 100%; height: 620px;" id="IFRAME1"name="sa" frameborder="no" onclick="return IFRAME1_onclick()"></iframe>调用以后打开窗口,把target属性设置为框架名sa 实际上隐藏的url转发也是通过frameset来实现的,所以楼主可以自己在页面中写一个frameset就可以了。 同一个命名空间的各个类之间可以相互继承 请各位前辈看一下下面这段C#代码,update方法的参数如何传递的? 如何配置邮件服务器? asp.net 动态绑定DataTable page_load错误 asp.net url重写问题!!!十万火急 【求助】关于创建XML的问题 大家觉得petshop 3.0的连接字符串的加密和解密怎么样 菜鸟问题:ASP.NET怎样优化数据库连接? 反序列化问题:继承DataSet的类如何反序列化? asp.net2005 怎么样控制源代码? 关于VS.NET 2005中排版的问题??
理论上可以,每个页面放一个文件夹,页面名称全部用服务器规定的缺省名称如:default.aspx,然后把每个文件夹设为虚拟目录,当然,这个整法比较变态。^_^
如果是用:Server.Transfer
给的任务就是这么说的,所以我都晕了..还是请大家能把详细的做法写上,,,多谢大家了...!!!!
a za a za fithging !!!!!
Response.Redirect(...)
改为
Server.Transfer(...)
地址栏将保持当前页
<map name="Map2">
<area shape="rect" coords="167,9,224,24" href="#" onclick = "window.open('IncFile.aspx');return false">
<area shape="rect" coords="655,9,707,22">
<!--area shape="rect" coords="764,8,815,20"-->
<area shape="rect" coords="705,33,706,38" href="#">
<area shape="rect" coords="12,6,46,22" href="main.aspx" id="default">
<area shape="rect" runat="server" id="diceyuancheng" coords="43,35,102,51" href="#" />
<area shape="rect" runat="server" id="tongfeng" coords="137,35,198,52" href="#" />
<area shape="rect" runat="server" id="gongdian" coords="242,31,300,52" href="#" />
<area shape="rect" runat="server" id="diaodu" coords="340,33,400,51" href="#" />
<area shape="rect" runat="server" id="jidian" coords="434,34,495,50" href="#" />
<area shape="rect" runat="server" id="wasijiace" coords="539,34,596,51" href="#" />
<area shape="rect" runat="server" id="shangchuan" coords="751,7,822,24" href="#" />
<area shape="rect" coords="624,34,681,51"/>
<area shape="rect" coords="732,36,793,52"/>
<area shape="rect" coords="460,9,518,23" href="#" onclick="window.open('Attemper.aspx');return false" />
<area shape="rect" coords="73,9,129,23" href="#" onclick = "window.open('IncReferral.aspx');return false" />
<area shape="rect" coords="270,8,323,23" href="#" onclick = "window.open('SuperiorFile.aspx');return false" />
<area shape="rect" coords="369,7,427,24" href="#" onclick = "window.open('PartyWorks.aspx');return false" />
<area shape="rect" coords="566,7,622,23" href="http://192.168.190.125" target="_blank" />
</map>
出来混还是不容易的..
我这里现在在做的网站是用FRAME开发的,可以实现你说的效果。
可是实现过程太复杂了,全是用JS控制的。
帮你顶一下吧。
<iframe style="border-left: black thin solid; width: 100%; height: 620px;" id="IFRAME1"
name="sa" frameborder="no" onclick="return IFRAME1_onclick()"></iframe>
调用
以后打开窗口,把target属性设置为框架名sa