我这有个内部后台发布网站系统,它一使用时就是先要内部管理员登陆,即浏览器访问www.xxxx.com时会进www.xxxx.com/login.jsp,用完后生成的网页放在了根目录下的site目录下,而现在我想要当外部用户访问访问www.xxxx.com时会显示site目录中的index.html,而当内部用户访问www.xxxx.com时会显示这个login.jsp,不知各位有什么解决方案?
解决方案 »
- .xmi是什么文件,怎么修改它里面的内容呢??
- 关于JSP输出数据库内容的代码问题?
- 为什么会系统不识别getWriter()方法
- HTTP Status 500 - The server encountered an internal error () that prevented it from fulfilling this request.开始学jsp安装服务器
- 告急!!!数据集合明明应该有返回值,可是却出现为null,急死了!!!!
- 带参数的BEAN问题
- 请教关于动态加载树型菜单的问题!
- 不能够更新数据库是怎么回事啊??(急)
- JSP简单问题!!!!!!! 急??????????
- 急急急急急急急急急急急!!!
- hsqldb启动时遇到问题
- java.lang.NullPointerException
我试了,但没反应,好像首页就写死在login.jsp了一样,web.xml中是这么配置的:
<welcome-file-list>
<welcome-file>index.shtml</welcome-file>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
urlrewrite-2.6.0.jar还有加一些 <filter>、 <filter-mapping> 什么的都搞了,自己做个小页面跳转能转,但这个没转成
判断ip,如果是内网的ip就跳转到login.jsp页面的jsp代码,
如果是动态IP......