原文:【转】tomcat 访问软连接文件夹下的网页出现404错误,description The requested resource (/xxx.html) is not available.

在 tomcat webapps ROOT 下建立一个软连接文件ln s home ubuntu report report 再到report软连接目录里建立个 report.html通过浏览器访问这个report.html时就出错。。 错误如下: HTTP Status report report.html type Status reportmessage rc aa.htmldescrip ...

2014-11-17 10:44 0 2707 推荐指数:

查看详情

错误:“The requested resource () is not available.”的处置

网页过程中,某页需要以新窗方式打开另一个网页,于是url是这样写: pages/test/transw/claimer.html 但是,点链接后网页提示 The requested resource () is not available. 再检查一遍url,没有发现拼写错误。 郁闷 ...

Wed Jan 21 22:48:00 CST 2015 0 19316
springboot访问html文件出现404错误

用springboot访问html文件时一直出现下面的错误: controller层如下: 在application.properties中的配置如下: 以上配置的情况下,访问html页面一直出现404,后来发现需要导入thymleaf依赖,导入之后再次访问 ...

Wed Jul 22 01:52:00 CST 2020 0 3283
运行JSP时出现The requested resource (/proj3/MyJsp.jsp) is not available.出现这种情况的原因有多种,这是其中一种(亲测有用)

网上回答一波一波,坑爹也是一波一波,自己尝试了好多方法,大家都知道路径有错但是都不知道自己路径错在哪里,所以那些回答等于废话一堆,无意用里面写好index.jsp测试发现了这个问题。少说废话直接上图测试看结果。 请看错误路径: 可以发现写好的index.jsp和我们创建的.jsp分别 ...

Fri Nov 25 04:10:00 CST 2016 0 7844
Tomcat不能访问ln -s连接文件夹的前因后果

为了部署方便,把webapps下的大文件(图片等资源)放到工程外,通过连接的方式设置 命令最常用的参数是-s,具体用法是:ln -s 源文件 目标文件。 ln -s /usr/local/pic/images/ /usr/local/tomcat/webapps/ROOT/images ...

Fri Nov 15 19:30:00 CST 2019 0 297
关于The requested resource is not available这个问题

关于The requested resource is not available这个问题 原来书上的提交路径是 <form action="/Login/Login.do" method="post"> 经过我无数次的修改,比如变成Login/Login.do,再 ...

Wed Jun 13 01:17:00 CST 2018 0 974
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM