这个The requested resource is not available怎么解决 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
什么情况回出现The requested resource is not available...
一个前两天能运行的项目,原来在C:\TOMCAT\WEBAPP下,后来我装了ECLIPSE3。O,移到了D:\WORKSPACE\下,就不出现了 is not <em>available</em>,然后我又把他移到C:
Tomcat服务器出现The requested resource is not available.但是webapps文件夹中确实有这个文件,怎么办?
我用myeclipse学习Struts1框架,写了一个测试工程,但是在Tomcat上就是跑不起来,web.xml配置文件如下:
遇到The requested resource is not available怎么办?自己检查了好几遍还是么看错错误
服务器启动没有问题,部署的其它项目可以正常访问.
JSP调试遇到“the requested resource is not available
最近在尝试做一个动态网站项目,利用JSP+Java开发,可是刚开始做个登录界面就被一个难题给困住了,那就是一输入网址就出现404错误“the <em>requested</em> <em>resource</em> is not <em>available</em>”!!!要说做JSP项目还是用MyEclipse最好,刚开始看了某“著名”JSP教程是以Eclipse为例,但是不知道大家有没有发现,Eclipse在创建动态web项目时候,没有web.x
The requested resource is not available的7种解决方案
HTTP Status 404(The <em>requested</em> <em>resource</em> is not <em>available</em>)异常主要是路径错误或拼写错误造成的,请按以下步骤逐一排查: 1.未部署Web应用 2.URL输入错误       a.查看URL的IP地址和端口号是否书写正确。        b.查看上下文路径是否正确 Project--------Properties------MyElips...
项目出现The requested resource is not available问题的解决方案
问题简述: 浏览器可以访问项目webapp下的index.jsp,但是无法访问再下一级的admin/index.html 提示404,错误描述:The <em>requested</em> <em>resource</em> is not <em>available</em>. 出错原因: springmvc配置文件少写了一行静态资源处理器 <em>解决</em>方法: src/main/<em>resource</em>s/spring/springmvc.xml 增加...
The requested resource is not available的7种解决方案(自己的不算)
HTTP Status 404(The <em>requested</em> <em>resource</em> is not <em>available</em>)异常主要是路径错误或拼写错误造成的,请按以下步骤逐一排查:1.未部署Web应用 2.URL输入错误      a.查看URL的IP地址和端口号是否书写正确。       b.查看上下文路径是否正确 Project--------Properties------MyElipse-----W...
The requested resource is not available.错误解决方法
我出现的问题是:在启动Tomcat是可以正常启动的,出现这原因是我在删除webapps下的子文件夹后,部署了war包,可能造成了紊乱,<em>解决</em>问题的方式如下: 修改Tomcat的web.xml内的 &lt;init-param&gt; &lt;param-name&gt;fork&lt;/param-name&gt; &lt;param-value&gt...
The requested resource is not available问题
Tomcat运行后访问网页404。 看控制台发现 struts.xml出问题,最后发现时struts.xml中拼写错了。。。 Unable to load configuration. - interceptor-ref - file:/C:/Users/lk/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3...
因配置不对,导致出现The requested resource is not available解决方法
在myeclipse下部署web工程时,经常会出现The <em>requested</em> <em>resource</em> is not <em>available</em>这种小问题,不胜其烦,现总结一下: 1.马虎粗心:比如Xml中配置没写对,英文大小写问题,或者servlet路径没写对,servlet中跳转的jsp页面路径和名字等等之类的,所以先仔细检查一下这些小地方。 2.有时图方便,喜欢直接copy、paste重命名一个工程,然
HTTP_Status_404(The_requested_resource_is_not_available)的几种解决方案_补充
HTTP_Status_404(The_<em>requested</em>_<em>resource</em>_is_not_<em>available</em>)的几种<em>解决</em>方案_补充
复制项目后修改项目名,添加到tomcat,运行提示The requested resource is not available.
复制SpringMvc框架更改项目名后,部署到Tomact上运行出错 HTTP Status 404 - /VC/index type Status report message /VC/index description The <em>requested</em> <em>resource</em> is not <em>available</em>. <em>解决</em>办法:    点击项目 ----右键Propert
myclipse中JSP文件运行时,出现“The requested resource is not available”问题解决方法
在myclipse中新建web project,运行JSP文件时出现了The <em>requested</em> <em>resource</em> is not <em>available</em>。一直找不到<em>解决</em>的办法。百度搜索上解释是:1、文件未放到正确的位置,不应该放到WEB-INF里面,把他移动到WEBROOT下面就可以<em>解决</em>。这一点排除,文件位置是正确的。2、web-INF下的web.xml里面的false改为TRUE,但仍然未<em>解决</em>问题。...
The requested resource is not available
type Status reportrnrnmessage /a/hello.actionrnrndescription The <em>requested</em> <em>resource</em> is not <em>available</em>.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/7.0.53rn配置,jar包什么的都没问题,tomcat/conf/web也改了.rn求解,纠结两天了。。。。
(javaweb)jsp登录页面跳转后出错:The requested resource is not available.
想做一个简单的登录系统,实现“输入正确的账号密码后会进入首页,错误则显示警告“的功能。不过在测试时,尽管能进入登录界面,并且输入了正确的账号和密码,但是点击登录时,网页提示错误了,如图 网上提供的<em>解决</em>方法有许多,最多还是说Tomcat的web.xml文件配置错了,但是我的web版本是3.1,支持注解(annotation)的使用,在servlet文件中添加@WebServlet(“/s”)// ...
解决The requested resource is not available的办法
1.问题描述:       eclipse中使用tomcat来运行HelloWorld时出现The <em>requested</em> <em>resource</em> is not <em>available</em>. 在报错中有一行Setting property 'source' to 'org.eclipse.jst.jee.server:HelloWorld' did not find a matching property  
The requested resource () is not available
[img=https://img-bbs.csdn.net/upload/201408/04/1407129098_711333.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201408/04/1407129132_520115.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201408/04/1407129149_640274.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201408/04/1407129161_111607.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201408/04/1407129190_871533.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201408/04/1407129285_899372.jpg][/img]rn能帮我看看问题出在哪里吗,真的很无奈,,
The requested resource ... is not available
jdk1.6rneclipse3.2.1rnmyeclipse5.1.0rntomcat6.0rn在myeclipse新建一个web project项目后在,不能在浏览器中访问到页面rn提示The <em>requested</em> <em>resource</em> ... is not <em>available</em>rn而新建一个web service project项目就可以访问到
The requested resource (/login.do) is not available
web.xml rn rn actionrn org.apache.struts.action.ActionServletrn rn configurern /WEB-INF/struts-config.xmlrn rn 0rn rn rn actionrn *.dorn rn rnrnstruts-congfig.xmlrnrn rn rn rn rn rn rn rn rn rn rn rn rnrnrnlogin.jsprnrn rn username: rn password: rn rn rn rnrn点击提交 出现 The <em>requested</em> <em>resource</em> (/login.do) is not <em>available</em> 错误 求大神解释下
The requested resource (/) is no available
<em>这个</em>问题<em>怎么</em><em>解决</em>?运行的时候是右键--run as--run on server,所以不是路径问题。运行其他项目是可以的,所以tomcat也没有问题。项目是从cvs下载下来的
遇到The requested resource is not available
  <em>这个</em>问题对于新手来说很常见,我经常遇到这类问题,对我而言一般都是url问题,因为刚开始在慕课上学习时网页上都是输入localhost:8080/******.jsp 或*****.index.jsp的,对真正的工程来说都是输入localhost:8080/项目名或项目名简写,具体是查看 Web Context-root才行!!!!   .URL输入错误       a.查看URL的IP地...
The requested resource is not available解决方法
因配置不对,导致出现The <em>requested</em> <em>resource</em> is not <em>available</em>的<em>解决</em>方法 在myeclipse下部署web工程时,经常会出现The <em>requested</em> <em>resource</em> is not <em>available</em>这种小问题,不胜其烦,现总结一下: 1.马虎粗心:比如Xml中配置没写对,英文大小写问题,或者servlet路径没写对,servlet中跳转的jsp页
The requested resource () is not available.的一种原因
在使用ssh框架的时候,点击连接后,没有进入到工程,弹出的页面上显示The <em>requested</em> <em>resource</em> () is not <em>available</em>.同时提示的是404错误。上网上百度了一下,发现遇到这种问题的人有很多,但是引发问题的原因也有很多,不过都未能<em>解决</em>我的问题。后来在控制台看到的异常信息,我突然想起来,在Struts的配置文件中,我在注释中间为了看起来方便加了“--”,就是<em>这个</em>东西导
The requested resource (/stru/login.do) is not available
刚接触struts2 按照书上的操作,但是总是出现<em>这个</em>错误,比对以后不知道到底是哪个地方出现问题,请高手帮指点一下 index.jsp代码如下: login.
The requested resource (/strutstest) is not available
web.xmlrnrnrnrnrn actionrn org.apache.struts.action.ActionServletrn rn configrn /WEB-INF/struts-config.xmlrn rn rn 0rnrnrnrn actionrn *.dornrnrnrnrnstruts-config.xmlrnrnrnrnrn rn rn rn rn rn rn rn rn rnrnrnrnrnLogin.jsprnrnrnrnrnrn rn Insert title herernrnrn rn username: rn password: rn rn rnrnrn
The requested resource (/FirstDemo/login.jsp) is not available
刚学struts, 然而做第一个例子就碰到问题。rn如标题。rn希望哪位大侠帮忙<em>解决</em>下。。
The requested resource (/hello/dispaly.jsp) is not available
这是一个很简单的例子,在重装之前时刻已运行的,重装之后,第一个页面login.jsp可以看到,但在跳转到第二个页面display.jsp时就会出现404的问题:The <em>requested</em> <em>resource</em> (/hello/dispaly.jsp) is not <em>available</em>rnrn下面是程序源代码:rn[b](1)UserBean.java[/b]rnpackage user;rnrnpublic class UserBean rnrn private String username;rn private String password;rn public String getUsername() rn return username;rn rn public void setUsername(String username) rn this.username = username;rn rn public String getPassword() rn return password;rn rn public void setPassword(String password) rn this.password = password;rn rnrn[b](2)login.java[/b]rnrnrn rnusernamern rnpassword rn rnrnrnrnrn[b](3)display.java[/b]rnrnrnrnrnrn rnyour password is:rnrn[b](4)目录结构如下(MyEclipse6.0)[/b]rnhello(工程/项目名)rn srcrn userrn WebRootrn login.jsprn display.jsprn(当然有一些自动生成的目录及文件没有列出,还有web.xml我已经修改过了,将index.jsp替换成login.jsp)rn请问为什么,从login.jsp跳转到display.jsp会出现异常呢,以前可以用,什么classpath,path等都设置过,例子是书上的
该死的The requested resource (/admin) is not available
安装了Tomcat5以后,运行服务,打开 http://127.0.0.1:8080/admin 提示 The <em>requested</em> <em>resource</em> (/admin) is not <em>available</em> <em>怎么</em><em>解决</em>?
struts2-404错误--The requested resource is not available
struts2-404错误--The <em>requested</em> <em>resource</em> is not <em>available</em>rn真心搞不懂为什么了。今天才开始学就遇到<em>这个</em>不能打开的问题。请大家帮忙看看。rnrn[img=https://img-bbs.csdn.net/upload/201406/03/1401792132_558533.png][/img]rnrn[b]web.xml[/b]rnrnrnrn StrutsTestrnrn rn struts2rn rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rn rn rn struts2rn /*rn rn rnrn Index.jsprn rn rnrnrnrnrn[b]struts.xml[/b]rnrnrnrnrn rnrnrn/hello.jsprn/validateLogin.jsprnrnrnrnrn[b]Index.jsp[/b]rnrnrnrnrnrn rn Insert title herernrnrnrnrnrnrnrnrnrnrnrnrnrn[b]LoginAction.javarn[/b]rnrnrnpackage com.action;rnimport com.opensymphony.xwork2.ActionSupport; rnpublic class LoginAction extends ActionSupport rn public static final long serialVersionUID = 1L;rn private String name;rn private int age;rn private String tel;rn rn public String getName()rn return name; rn rn public void setName(String name)rn this.name = name; rn rnrn public void setAge(int age) rn this.age = age;rn rn public int getAge() rn return age;rn rn public String getTel() rn return tel;rn public void setTel(String tel) rn this.tel = tel;rn rn @Overridern public String execute() throws Exception rn // TODO Auto-generated method stubrn return "hello";rn rn @Overridern public void validate() rn // TODO Auto-generated method stubrn System.out.println("11111");rn rn public void validateLog() rn // TODO Auto-generated method stubrn System.out.println("ssssss");rn if(age30)rn addFieldError("age", "7777777777");rn rn rnrnrn[b]hello.jsp[/b]rnrnrnrnrnrn rn Insert title herernrnrnName: rnAge: rnTelephone: rnrnrnrn[b]validateLogin.jsp[/b]rnrnrnrnrn rn Insert title herernrnrnAge: Wrong rnrnrnrnrn[img=https://img-bbs.csdn.net/upload/201406/03/1401792378_207848.png][/img]rn[img=https://img-bbs.csdn.net/upload/201406/03/1401792388_73530.png][/img]rnrnrn真心不明白为什么。小女子先谢过大家。。
如何解决?The requested resource () is not availab servlet连接数据库就会出现
出现如下故障如何<em>解决</em>? 文件: package servlet; import java.io.IOException; import java.io.PrintWriter; import java
The requested resource (/) is not available
The <em>requested</em> <em>resource</em> (/) is not <em>available</em> HTTP Status 404(The <em>requested</em> <em>resource</em> is not <em>available</em>)异常主要是路径错误或拼写错误造成的,请按以下步骤逐一排查: 1.未部署Web应用   2.URL输入错误       a.查看URL的IP地址和端口号是否书写
运行servlet出现404错误:description The requested resource is not available.
看了很多别人写的帖子都没有<em>解决</em>好<em>这个</em>问题,弄了一晚上,<em>这个</em>问题终于<em>解决</em>了。出现404的问题就是路径可能是写错了,好好检查下。刚开始一直没有发现<em>这个</em>问题,老师报404错误,我检查了我写的类,web.xml都没有问题,tomcat也能正常启动。后来试了下http://localhost:8080/web01/index.jsp能不能有结果,原来是有结果的呢,嘤嘤嘤,那估计是我写的web.xml的路径有...
关于Servlet出现The requested resource is not available.求解
本人为了测试servlet与filter,用myeclise与tomcat写了一个注册程序。 1.注册页面 index.jsp contentType
急哭, description The requested resource is not available.
求各位大神帮忙,今天改了下tomcat 下项目下的xml 连接数据库配置文档,然后就出现了 tomcat log/catalina.out 没看到严重错误等提示,但启动结束之后访问项目出现404错误,
The requested resource (/gest/) is not available的问题
小弟我写了一个测试查询 程序很简单 就是用户注册和登录 我的web.xml配置如下rnrnrnrn rn actionrn org.apache.struts.action.ActionServletrn rn configrn /WEB-INF/struts-config.xmlrn rn rn debugrn 3rn rn rn detailrn 3rn rn 0rn rn rn actionrn *.dorn rn rn index.jsprn rn rn rn contextConfigLocation rn /WEB-INF/applicationContext.xml rn rn rn context rn org.springframework.web.context.ContextLoaderServlet rn 1 rn rnrn rn rn org.springframework.web.util.Log4jConfigListenerrn rn rn rn rnrnrn开始是能运行的 中途我重新导入到tomcat后就不行了 现在页面显示:rntype Status reportrnrnmessage /gest/rnrndescription The <em>requested</em> <em>resource</em> (/gest/) is not <em>available</em>.rnrn谢谢各位!
The requested resource (/Demo/login.do) is not available
Web.xml配置rnrnrn Demorn rn actionrn org.apache.struts.action.ActionServletrn rn configrn /WEB-INF/struts-config.xmlrn rn rn debugrn 2rn rn rn detailrn 2rn rn 0rn rn rn actionrn *.dorn rn rn login.jsprn rn rn rn /tags/struts-beanrn /WEB-INF/struts-bean.tldrn rn rn /tags/struts-htmlrn /WEB-INF/struts-html.tldrn rn rn /tags/struts-logicrn /WEB-INF/struts-logic.tldrn rn rn /tags/struts-nestedrn /WEB-INF/struts-nested.tldrn rn rnrnstruts-config.xmlrn rnrnrn rn rn rn rn rn rn rn rn rn rn rnrn工程目录[img=C:\Users\Administrator\Desktop\1.png][/img]
The requested resource (/HTTP/1.1) is not available
编了个访问Tomcat的小程序,rnrnpackage TestHttp;rnrnimport java.io.BufferedReader;rnimport java.io.IOException;rnimport java.net.Socket;rnimport java.net.UnknownHostException;rnimport java.io.*;rnrnrnpublic class Test rnrn public static void main(String[] args) throws UnknownHostException, IOException rn String ss;rn rn Socket s = new Socket("127.0.0.1", 8080);rn rn OutputStream os = s.getOutputStream();rn rn PrintWriter pw = new PrintWriter(os);rn rn pw.println("GET /HTTP/1.1 ");rn pw.println("Host:localhost");rn pw.println("Content-type: text ml");rn pw.println();rn pw.flush();rn rn BufferedReader bf = new BufferedReader(new InputStreamReader(s.getInputStream()));rn rn while(( ss =bf.readLine())!=null) rn System.out.println(ss);rn rn rn bf.close();rn pw.close();rn os.close();rn s.close();rn rn rnrnrn返回一些文本rnrn Apache Tomcat/7.0.11 - Error report HTTP Status 404 - /HTTP/1.1 type Status report message /HTTP/1.1 description The <em>requested</em> <em>resource</em> (/HTTP/1.1) is not <em>available</em>. Apache Tomcat/7.0.11rnrn转为html格式,显示为 HTTP 404 异常rnThe <em>requested</em> <em>resource</em> (/HTTP/1.1) is not <em>available</em>.rnrn我用的是Tomcat 7.0,不知什么原因产生此异常……rnrnrn
The requested resource (/JSPExample/registerServlet) is not available
HTTP Status 404 - /JSPExample/registerServletrnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage /JSPExample/registerServletrnrndescription The <em>requested</em> <em>resource</em> (/JSPExample/registerServlet) is not <em>available</em>.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/6.0.35
PHP的环境搭建(艰辛搭配经历,最后终于搭建好了。HTTP Error 404. The requested resource is not found.解决方法之一)
PHP的环境搭建(艰辛搭配经历,最后终于搭建好了) HTTP Error 404. The <em>requested</em> <em>resource</em> is not found. 的错误<em>解决</em>方法之一(需要更改端口为空闲端口,如82, 8080, 8088)都可以; 分享一下Win10从0开始搭建PHP服务器到最后的php编辑器的运行成功
description The requested resource is not available.
SimpleServlet.java import java.io.IOException; import java.io.PrintWriter; import javax.servlet.Serv
关于description The requested resource is not available
一开始在本地tomcat不会包<em>这个</em>错误,但是等我调试到服务器上面就开始报错误。404找不到该请求的映射。找了很久,在网上也搜索了很久。 终于找到了。先是找到了catalina.out里面说明了映射的错误,重复映射到同一个域。改掉其中一个就可以<em>解决</em>了。从<em>这个</em>可以看出来,找一个问题可以看catalina.out里面的输出信息。 虽然很蠢,但是很实用。
form元素向servlet提交数据出现The requested resource is not available 即HTTP Status 404 错误
项目结构图如下:遇到的错误是:其中modifyStuInfoResult.jsp的form元素的属性为:modifyStuInfoResult.jsp运行后的界面为:出现错误的第一个想法就是form元素的action属性写错了。检查一下它们俩的路径:http://localhost:8080/LibraryManagement/mgrView/modifyStuInfoResult.jsp ht...
Servlet遇到 description The requested resource is not available. 问题解决方法
问题:  description The <em>requested</em> <em>resource</em> is not <em>available</em>. 我一开始是跟着教程编写的登录页面,在编写时候,在网页中打开时,预期的效果是: 但是出现的却是这样的: 后来我百度了很多都没有<em>解决</em>,后来问了学长,才<em>解决</em>了<em>这个</em>问题,具体问题我不是很清楚,只是知道应该是项目Tomcat没有构建好项目,具体<em>解决</em>方法是下面:
(二)Solr的安装配置及部署
下载solr下载地址:http://archive.apache.org/dist/lucene/solr/或去百度云盘链接:链接:http://pan.baidu.com/s/1o8wGwuI 密码:wm8s1、将solr-6.3.0\server\solr-webapp下的solr.war拷贝到apache-tomcat-8.5.8\webapps下,启动tomcat解压solr.war,解压完
ssh5的源文件
一直出现HTTP Status 404 - Servlet action is not <em>available</em> -------------------------------------------------------------------------------- type Status report message Servlet action is not <em>available</em> description The <em>requested</em> <em>resource</em> (Servlet action is not <em>available</em>) is not <em>available</em>. -------------------------------------------------------------------------------- Apache Tomcat/5.5.25的问题
description The requested resource (Servlet jsp is not available) is not availab
HTTP Status 404 - Servlet jsp is not <em>available</em>rnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage Servlet jsp is not <em>available</em>rnrndescription The <em>requested</em> <em>resource</em> (Servlet jsp is not <em>available</em>) is not <em>available</em>.rnrnrnrn这是<em>怎么</em>个情况?之前的发布都可以,突然所有都不行了。
struts登录页面显示The requested resource (/login.jsp) is not available
login.jsp和各项配置都已经写好,但是报以上错误,请教rn另外以前运行<em>这个</em>程序正常,但突然就不能访问了
Struts2 出现struts The requested resource () is not available
[img=https://img-bbs.csdn.net/upload/201505/15/1431682253_622144.png][/img]rnrnweb.xmlrnrnrnrn Struts 2 rn rn index.jsprn rn rn rn struts2rn rn org.apache.struts2.dispatcher.FilterDispatcherrn rn rnrn rn struts2rn /*rn rnrn/*rn删掉 rn rn struts2rn rn org.apache.struts2.dispatcher.FilterDispatcherrn rn rnrn rn struts2rn /*rn rn就不会出现错误,但是点击按钮就没用了rn*/rnstruts.xmlrnrnrnrnrnrn rn rn rn /HelloWorld.jsprn rn rnrnrnHelloWorldAction.javarnrnrnpackage com.tutorialspoint.struts2;rnrnpublic class HelloWorldActionrn private String name;rnrn public String execute() throws Exception rn return "success";rn rn rn public String getName() rn return name;rn rnrn public void setName(String name) rn this.name = name;rn rn rnrnindex.jsprnrnrnrnrnrnrnrnrn rn rn rn My JSP 'index.jsp' starting pagern rn rn rn rn rn rn rn rn rn Hello World From Struts2rn rn Please enter your name rn rn rn rn rnrnrnhelloWorld.jsprnrnrnrnrnrnrnrnrn rn rn rn My JSP 'helloWorld.jsp' starting pagern rn rn rn rn rn rn rnrn rn rn rn Hello World, rn rnrnrn初学Struts2 看不懂啊。。。找不到哪里错了
tomcat: The requested resource is not available.一种可能的原因
在服务器上配置java web项目时出现了以下错误: HTTP Status 404 -/hellodemo4/WEB-INF/pages/index.jsp type Status report message /hellodemo4/WEB-INF/pages/index.jsp description The <em>requested</em> <em>resource</em> is not<em>available</em>.
Tomcat6.0.18下出现The requested resource(/)is not available
wu
The requested resource (Servlet action is not available) is not available.这个问题让我通宵了一个晚上
    在昨晚用struts+spring+hibernate做注册页面时,一路上下来都非常的顺利,但在运行时能出现注册的页面,一点击注册,就出现了以下的页面:    type Status report    message Servlet action is not <em>available</em>     description The <em>requested</em> <em>resource</em> (Servlet
HTTP Status 404(The requested resource is not available)的几种解决方法
原因:servlet没有配置正确 ,查看web.xml确认正确,以及自己的请求路径正确在IE中提示“404”错误有以下三种情况1.未部署Web应用2.URL输入错误       排错方法:首先,查看URL的IP地址和端口号是否书写正确。       其次,查看上下文路径是否正确 Project--------Properties------MyEli
【错误】The requested resource (/addressbook/logon.jsp) is not available
========错误原文:====rnHTTP Status 404 - /addressbook/logon.jsprntype Status reportrnmessage /addressbook/logon.jsprndescription The <em>requested</em> <em>resource</em> (/addressbook/logon.jsp) is not vailable.rnApache Tomcat/4.1.27-LE-jdk1rnrn=======自己调试结果:=====rn1、tomcat3.3下面可以运行,但是4.0或者4.1就不行了!
JSP初用者的问题:The requested resource (……) is not available
今天开始试着使用jdk+tomcat的环境rnrnj2sdk1.4.2_04,安装完配置环境变量,rn测试rnpublic class Test rnpublic static void main(String args[]) rnSystem.out.println("This is a test program."); rn rnrn等一切正常rnrn安装Tomcat5.0后,变量配置等工作都完成,启动tomcat,在IE中访问http://localhost:8080 ,小猫也看到了。rnrn对着网上找来的资料,继续玩下去:rnrnHTML页面测试rn创建一个html文件Hello.html。rnrnrnrn HTML 测试rnrnrn HTML 测试rn欢迎。rnrnrn在Tomcat的webapps下创建一个文件夹myJSPServlet。rn将Hello.html保存到文件夹myJSPServlet中。rn在浏览器的地址栏输入http://localhost:8080/myJSPServlet/Hello.html。rnrn就开始出现这样的问题了:rnHTTP Status 404 - /myJSPServlet/Hello.jsprntype Status reportrnmessage /myJSPServlet/Hello.jsprndescription The <em>requested</em> <em>resource</em> (/myJSPServlet/Hello.jsp) is not <em>available</em>.rnrnHello.html<em>这个</em>文件的内容本身肯定没有问题,直接打开<em>这个</em>html文件一切正常。rnrn网上搜了好多,也没找到原因和<em>解决</em>的办法,狂受打击,本以为好简单的。请达人帮忙,感激!
The requested resource (Servlet action is not available) is not available.
总是停留在用户登录界面,登录之后就是提示错误rnThe <em>requested</em> <em>resource</em> (Servlet action is not <em>available</em>) is not <em>available</em>.rnrn我的WEB.XML:rnrnrn rn actionrn rn org.apache.struts.action.ActionServletrn rn rn configrn /WEB-INF/struts-config.xmlrn rn rn debugrn 3rn rn rn detailrn 3rn rn 0rn rn rn actionrn *.dorn rn rn index.jsprn rnrnrn
上传自己的镜像被拒绝denied: requested access to the resource is denied
我登录后想要上传自己保持的镜像。 [zzq@weekend110 ~]$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE a1030907690/ubuntu latest 938aec5e0cbb 4
Docker:发布自己镜像问题denied: requested access to the resource is denied解决方法
问题:    发布镜像的时候,按照教程执行的,结果没有成功,搜了下,找到<em>解决</em>方法了,记录一下。    denied: <em>requested</em> access to the <em>resource</em> is denied<em>解决</em>方法:看到<em>这个</em>,只好搜索了。还好,有不少帖子都有。看看下面我的执行步骤PS C:\WINDOWS\system32&amp;gt; docker images REPOSITORY ...
denied: requested access to the resource is denied
使用docker push镜像时,出现denied: <em>requested</em> access to the <em>resource</em> is denied。 原因和Git push代码一样,为了安全起见,在Docker Hub无法确定操作者的情况下,是无法完成push操作的。在Git中是通过配置文件SSH Keys来记住用户,那么在Docker Hub中也是通过配置文件。 通常在你第一次使用docker logi...
Docker :denied: requested access to the resource is denied解决方法
<em>解决</em>方法: 1.docker images 查看自己镜像,我要上传的是yjp/whalesay镜像 2.因为我的docker hub的用户名是yangjp,所以需要将镜像的名字改成yangjp/whalesay docker tag yjp/whalesay yangjp/whalesay 3.接下来重新发布 docker push yangjp/whalesay 4.发布成功以后可以上d...
description The requested resource (Servlet action is not available) is not avai
HTTP Status 404 - Servlet action is not <em>available</em>rnrn--------------------------------------------------------------------------------rnrntype Status reportrnrnmessage Servlet action is not <em>available</em>rnrndescription The <em>requested</em> <em>resource</em> (Servlet action is not <em>available</em>) is not <em>available</em>.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/6.0.13rn-----------------------------------------------rnrnrn rn rn rn rn rn rn rn rn rn rnrn-----------------------------------------------------------------rnrnrn rn actionrn org.apache.struts.action.ActionServletrn rn configrn \WEB-INF\struts-config.xmlrn rn 0rn rn rn actionrn *.dorn rnrnrn----------------------------------------------------------------rnpackage cn.itcast;rnrnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnimport org.apache.struts.action.Action;rnimport org.apache.struts.action.ActionForm;rnimport org.apache.struts.action.ActionForward;rnimport org.apache.struts.action.ActionMapping;rnrnpublic class LoginAction extends Action rnrn @Overridern public ActionForward execute(ActionMapping mapping, ActionForm form,rn HttpServletRequest request, HttpServletResponse response)rn throws Exception rn // TODO Auto-generated method stubrn LoginForm loginform=(LoginForm)form;rn if(loginform.getUsename().equals("itcast"))rn rn return mapping.findForward("loginSuccess");rn rn elsern rn return mapping.findForward("loginFailure");rn rn rnrnrn----------------------------------------------------------------rnpackage cn.itcast;rnrnimport org.apache.struts.action.ActionForm;rnrnpublic class LoginForm extends ActionForm rn private String usename= null;rn private String password= null;rnpublic String getUsename() rn return usename;rnrnpublic void setUsename(String usename) rn this.usename = usename;rnrnpublic String getPassword() rn return password;rnrnpublic void setPassword(String password) rn this.password = password;rnrn rn rnrn-----------------------------------------------rn这是路径错了吗???提交按钮的时候出现错误rnrn
学习docker
下面的内容是对docker的简单操作,包括启动docker,下载image,运行image,查看容器的详细信息、在容器中安装新程序,保持刚刚修改的容器,发布自己的镜像到docke Hub上。所有操作步骤是一步一步进行的,能够让初学者直观地感受一下docker的作用。 说明: 1、在看本博客之前,请先确认您已经安装好了docker。本人的docker运行在win上面。 2、为了提高写博
XAMPP:外网无法访问服务器的数据库
Xampp问题之一:XAMPP:Access to the <em>requested</em> object is only <em>available</em> from the local network. You don't have permission to access /phpmyadmin/ on this server <em>解决</em>方式:1,查找http-xampp.conf文件 。            
若能解决肯定结贴 servlet 留言板 The requested resource is not available
各位大神帮帮忙,我是要做一个留言板用JSP+servlet,可是老师出现<em>这个</em>问题rntype Status reportrnrnmessage /CH009/AddMessageServletrnrndescription The <em>requested</em> <em>resource</em> is not <em>available</em>.rnrnApache Tomcat/7.0.57rnrn以下是我的JSP和servlet代码rnrnrnrnrnrnrn rn rn rn 留言板面rn rnrnrn rn rn rn rn 留言者: rn 留言标题: rn 留言内容:rn rn rn rn 查看留言rn rn rn rn rnrnrnrnpackage servlet;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnimport java.text.SimpleDateFormat;rnimport java.util.ArrayList;rnimport java.util.Date;rnrnimport javax.servlet.ServletContext;rnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServlet;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnimport javax.servlet.http.HttpSession;rnrnpublic class AddMessageServlet extends HttpServlet rnrn public AddMessageServlet() rn super();rn rn public void destroy() rn super.destroy(); // Just puts "destroy" string in logrn // Put your code herern rnrn public void doGet(HttpServletRequest request, HttpServletResponse response)rn throws ServletException, IOException rnrn doPost(request,response);rn rnrn public void doPost(HttpServletRequest request, HttpServletResponse response)rn throws ServletException, IOException rn String author=new rn String(request.getParameter("author").getBytes("ISO-8859-1"),"UTF-8");rn String title=new rn String(request.getParameter("title").getBytes("ISO-8859-1"),"UTF-8");rn String content=new rn String(request.getParameter("content").getBytes("ISO-8859-1"),"UTF-8");rn SimpleDateFormat format=new rn SimpleDateFormat("yyyy-MM-dd HH:mm:ss");rn String today=format.format(new Date());rn MessageBean mm=new MessageBean();rn mm.setAuthor(author);rn mm.setTitle(title);rn mm.setTime(today);rn mm.setContent(content);rn HttpSession session=request.getSession();rn ServletContext scx=session.getServletContext();rn ArrayList wordlist=(ArrayList)scx.getAttribute("wordlist");rn if(wordlist==null)rn wordlist=new ArrayList();rn wordlist.add(mm);rn scx.setAttribute("wordlist", wordlist);rn response.sendRedirect("showMessage.jsp"); rn rn public void init() throws ServletException rn // Put your code herern rnrnrn*********************************************************************************************rnrnrnrnrnrnrnrn rn rn rn 显示留言内容rn rn rn rn =0;i--)rn MessageBean mm=(MessageBean)wordlist.get(i); rn %>rn 留言者:rn 留言时间:rn 留言标题:rn 留言内容:rn rn rn rn rn 我要留言rn rn rn rnrnrn**************************************************************************************************rnpackage servlet;rnrnpublic class MessageBean rn private String author;rn private String title;rn private String content;rn private String time;rn public MessageBean() rn super();rn rn public String getAuthor() rn return author;rn rn public void setAuthor(String author) rn this.author = author;rn rn public String getTitle() rn return title;rn rn public void setTitle(String title) rn this.title = title;rn rn public String getContent() rn return content;rn rn public void setContent(String content) rn this.content = content;rn rn public String getTime() rn return time;rn rn public void setTime(String time) rn this.time = time;rn rn rn rnrn
解决docker push镜像时denied: requested access to the resource is denied : docker
背景:我用的是harbor管理镜像仓库,之前没有上传下载过harbor上的镜像。在我配置了daemon.json文件后,可以pull镜像了,但是我往library目录push的时候仍然有问题,提示错误:denied: <em>requested</em> access to the <em>resource</em> is denied 。个人感觉是因为没有登录的问题。 <em>解决</em>方法: 切换到root用户su root...
Docker push image: denied: requested access to the resource is denied
问题:Docker push image: denied: <em>requested</em> accessto the <em>resource</em> is denied原因:需要先docke login再docker push<em>解决</em>:[root@localhost website]# docker loginLogin with your Docker ID to push and pullimages from Docke...
DOCKER push失败:denied: requested access to the resource is denied
刚刚入坑,第一次push镜像失败, 原因1:命令内容无帐号信息 E:\docker\jdk8>docker push ubuntu:16-jdk8 The push refers to a repository [docker.io/library/ubuntu] d4bd1dfba68a: Preparing 7f7a065d245a: Preparing f96e6b25195f: P
SQL 2008执行语句遇到内存不足的案例(error 701)之一
SQL 2008执行语句遇到内存不足的案例(error 701)之一 某个特定的存储过程在SQL 2008中执行会遇到以下错误: Msg 701, Level 17, State 123, Procedure GetAllRevisions_Monthly, Line 22 There is insufficient system memory in <em>resource</em> pool ‘inte
description The requested resource (/myapp/Test) is not available如何解决???
Test.java,文件内容如下: rnpackage test; rnimport java.io.IOException; rnimport java.io.PrintWriter; rnimport javax.servlet.ServletException; rnimport javax.servlet.http.HttpServlet; rnimport javax.servlet.http.HttpServletRequest; rnimport javax.servlet.http.HttpServletResponse; rnpublic class Test extends HttpServlet rnprotected void doGet(HttpServletRequest request, HttpServletResponse response) rnthrows ServletException, IOException rnPrintWriter out=response.getWriter(); rnout.println(" This is a servlet test."); rnout.flush(); rn rn rn2 .编译 rn将Test.java放在c:\test下,使用如下命令编译: rnC:\Test>javac Test.java rn然后在c:\Test下会产生一个编译后的servlet文件:Test.class rn3 .将结构test\Test.class剪切到%CATALINA_HOME%\webapps\myapp\WEB-INF\classes下,也就是剪切那个test目录到classes目录下,如果classes目录不存在,就新建一个。 现在webapps\myapp\WEB-INF\classes下有test\Test.class的文件目录结构 rn4 .修改webapps\myapp\WEB-INF\web.xml,添加servlet和servlet-mapping rn编辑后的web.xml如下所示,红色为添加的内容: rn rnrn rnrnMy Web Application rn rnA application for test. rn rn rnTest rnTest rnA test Servlet rntest.Test rn rn rnTest rn/Test rn rn rn这段话中的servlet这一段声明了你要调用的Servlet,而servlet-mapping则是将声明的servlet“映射”到地址/Test上 rn5 .好了,启动Tomcat,启动浏览器,输入http://localhost:8080/myapp/Test rnrnrn运行出现如下显示?rndescription The <em>requested</em> <em>resource</em> (/myapp/Test) is not <em>available</em>rnrn
从零开始的ORB-SLAM2生活
在http://vision.in.tum.de/data/datasets/rgbd-dataset/download上下载并解压好数据集后 cd到数据集的目录,mv rgbd_dataset_freiburg1_xyz /usr/slam_tools然后进入ORB_SLAM2目录sudo ./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt ...
自定义标怎么老是出错The requested resource (/tag/MyJsp.jsp) is not available
出错信息为:rntype Status reportrnrnmessage /tag/MyJsp.jsprnrndescription The <em>requested</em> <em>resource</em> (/tag/MyJsp.jsp) is not <em>available</em>.rnrn我写的标签处理类是infoTagExamplernpackage edu.j2ee.tag;rnrnimport javax.servlet.jsp.*;rnimport javax.servlet.jsp.tagext.*;rnimport java.io.Writer;rnimport java.io.IOException;rnrnpublic class infoTagExample extends TagSupportrnrn String username;rn public infoTagExample()rn rn super();rn rn rn public void setUserName(String user)rn rn username = user;rn rn rn public int doStartTag() throws JspTagExceptionrn rn System.out.println("doStartTag");rn tryrn rn pageContext.getOut().write("welcome " + username);rn rn rn catch(Exception e)rn rn e.printStackTrace();rn rn return SKIP_BODY;rn rn rnrnrn定义的TLD文件为mytld.tldrnrnrn rn this taglib provides tag example.rn JSTL XMLrn 1.2rn mytagrn http://java.sun.com/jsp/jstl/xmlrn rn inforn edu.j2ee.shop.infoTagExamplern emptyrn rn userNamern truern truern rn rn rn rnweb.xml文件为rnrnrn Welcome to tomcatrn JSP examplern rn /demotagrn /WEB-INF/mytag.tldrn rn rnrnjsp为rnrnrnrn custom tagrn rnrnrn rnrnrn rnrnrn出错信息为:rntype Status reportrnrnmessage /tag/MyJsp.jsprnrndescription The <em>requested</em> <em>resource</em> (/tag/MyJsp.jsp) is not <em>available</em>.rnrn哪位大哥帮帮忙?
The requested resource is in use.错误怎么解决
当执行WEB服务器的HTM文件正常,rn执行ASP文件时不能被执行,就有这样的错误信息:The <em>requested</em> <em>resource</em> is in use.rn<em>这个</em>该<em>怎么</em><em>解决</em>啊。
HTTP Status 403 - Access to the requested resource has been denied
导读:   刚刚解压版的Tomcat5.0.12,启动setup.bat后,通过浏览器访问:http://127.0.0.1:8080/admin   在登录界面输入用户名 both 和密码 tomcat 后出现下面的错误提示:   HTTP Status 403 - Access to the <em>requested</em> <em>resource</em> has been denied      问题原因:   D:/
Tomcat进入manager页面--Access to the requested resource has been denied
问题原因:下的是zip版的TOMCAT,用默认的tomcat/tomcat登录就会报此错。所以得手工配置登录用户名  打开TOMCAT/CONF/tomcat-users.xml  默认为:  Java代码  '1.0' encoding='utf-8'?>        "tomcat"/>     "role1"/>     "both" password=
The requested resource is in use. 怎么解决啊?
IIS5。0rn我进行了部分权限配置rn访问ASP文件的时候出现The <em>requested</em> <em>resource</em> is in use. <em>怎么</em><em>解决</em>啊?
Docker镜像上传失败的解决办法
自己封装好的镜像,上传至Docker Hub时失败,总是提示“denied: <em>requested</em> access to the <em>resource</em> is denied”,原因很简单:未登录Docker账号!“Please login prior to push”!登录后再进行上传操作,问题迎刃而解,如下所示:...
合买平台搭建配置https实践操作记录
1.合买平台搭建 Q1446595067 参考文档 haozbbs.com 2.访问方式简易说明 参考文档 haozbbs.com 前面一篇:traefik基础部署记录,介绍了最简单的http访问traefik,访问过程参考见下: client — (via http) —&amp;gt; traefik —- (via http) —-&amp;gt; services 现在要实践的是更安全也更...
关于doPost或doGet调用出错
Servlet 出错:Servlet  eroor:HTTP method GET is not supported by this URtype: Status reportmessage: HTTP method GET is not
Tomcat安装问题
问题描述  tomcat安装完成后,在浏览器中测试出现如下错误:Not Found (HTTP Error 404. The Requested Resource is not found),如下图所示: 图1 <em>解决</em>过程  看到<em>这个</em>,我首先就觉得肯定是安装的时候选择jdk路径选择错啦,因为安装教程上说jdk的路径不用手动选择,软件会自动查找路径的。所以就没有改路径,
解决Jenkins创建Docker Image后无法推送到私有Registry的问题
最近刚开始使用Docker,把常用的命令摸了一遍后,就想把镜像的build过程放到Jenkins上。具体过程就不说了,十分简单,只需要几条命令就可以了。 可以在向私有registry推送时却报出了异常: docker push registry.mydocker.com/demo/small:latest The push refers to repository [registry.my
[Tomcat]HTTP Status 403 - Access to the requested resource has been denied
HTTP Status 403 - Access to the <em>requested</em> <em>resource</em> has been denied问题原因: $CATALINA_HOME/conf 目录下的 tomcat-users.xml 文件内容如下:
Access to the requested resource has been denied
问题原因:下的是zip版的TOMCAT,用默认的tomcat/tomcat登录就会报此错。所以得手工配置登录用户名  打开TOMCAT/CONF/tomcat-users.xml  默认为:  Java代码   '1.0' encoding='utf-8'?>        "tomcat"/>     "role1"/>     "both" password
Docker学习笔记:故障排除
坑一st@Docker:~$ docker search centos Warning: failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.so...
(IDEA)使用struts2后出现启动拦截器失败
ClassNotFoundException: org...dispatcher.ng.filter.StrutsPrepareAndExecuteFilter   1、确保所有struts2所需要的包都导进去了(红色标记的),如图:  2、将外部lib下的包都复制到WEB-INFO下: 重新运行程序,成功! 也就是说,Tomcat默认从WEB-INF/
jsp课程下载
jsp课程实例,讲解jsp基本知识 相关下载链接:[url=//download.csdn.net/download/wu_jing_sheng0/215000?utm_source=bbsseo]//download.csdn.net/download/wu_jing_sheng0/215000?utm_source=bbsseo[/url]
用ZendStudio ZendServer ZendDebuger调试PHP程序下载
用ZendStudio ZendServer ZendDebuger调试PHP程序 相关下载链接:[url=//download.csdn.net/download/mengxiangbaidu/4260314?utm_source=bbsseo]//download.csdn.net/download/mengxiangbaidu/4260314?utm_source=bbsseo[/url]
第七期 1615张前端开发图片[高清][无损][质感][透明]下载
第七期 高清质感透明图片 一共1615张图片 全部为256x256 高清的 质感无毛角无虚框 背景全部为透明 图片格式采用无损PNG格式 本期实用性高于往期 第八期 将在本期下载量过百后上线 谢谢大家的支持 ==================================================== 附第一期下载地址 http://download.csdn.net/detail/kly377/6302417 http://download.csdn.net/detail/kly377/6302379 附第二期下载地址 http://download.csdn.n 相关下载链接:[url=//download.csdn.net/download/kly377/6419659?utm_source=bbsseo]//download.csdn.net/download/kly377/6419659?utm_source=bbsseo[/url]
文章热词 设计制作学习 机器学习教程 Objective-C培训 交互设计视频教程 颜色模型
相关热词 mysql关联查询两次本表 native底部 react extjs glyph 图标 java的一些学习这个。 区块链解决
我们是很有底线的