本文介绍了HTTP状态404 -description请求的资源不可用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hiii ....当我运行此代码时收到错误HTTP状态404 -description请求的资源



不可用。我正在使用Eclipse IDE。我的直接结构是





WebContent - > META-INF - > src - > com - > read1 - > ReadExcel

! - > Action.jsp

! - > Upload.jsp







Hiii....When i run this code getting error HTTP Status 404 -description The requested resource

is not available. I am using Eclipse IDE. My direct structure is


WebContent-->META-INF-->src-->com-->read1-->ReadExcel
!-->Action.jsp
!-->Upload.jsp



<%@ page import="com.read1.ReadExcel" %>
<%@ page import="javax.naming.spi.ObjectFactory" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"

    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<%@ page import="java.io.*" %>
<body>
<%
String filePath= request.getParameter("Inputfile");
ReadExcel xl = new ReadExcel();
ObjectFactory myFactory = xl.createFactory(filePath);

%>
</body>
</html>







谢谢。




Thanks.

推荐答案


这篇关于HTTP状态404 -description请求的资源不可用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 20:22