无法加载css和js文件 [英] can't load css and js file

查看:96
本文介绍了无法加载css和js文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只需添加一个httpModule( http://msdn.microsoft.com /en-us/library/ms379557%28VS.80%29.aspx [无法加载资源:服务器响应状态为500(内部服务器错误)'出来。



我在这个问题上调试,我找到了css&的所有链接。在HttpModule中调用public void Init(HttpApplication app)方法的js文件。



我不知道为什么,任何人都可以帮忙吗?



提前感谢

I just add one httpModule (http://msdn.microsoft.com/en-us/library/ms379557%28VS.80%29.aspx[^]) to check or determine if the page is being refreshed.But after that, all the css file & js file can not be loaded.'Failed to load resource: the server responded with a status of 500 (Internal Server Error)' come out.

And I debug on this issue, I found all links of css& js file called public void Init(HttpApplication app) method in HttpModule.

I don't know why, anyone can help on this?

thanks in advance

推荐答案

如果你需要检测下面的页面刷新事件检查
如何在Asp中检测页面刷新。 net C#VB.Net [ ^ ]

在ASP.NET中检测刷新或回发 [ ^ ]
if you need to detect page refresh event check below alternatives
How to Detect Page Refresh in Asp.net C# VB.Net[^]
Detecting Refresh or Postback in ASP.NET[^]


这篇关于无法加载css和js文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆