“Resource not found” warnings on my web.xml with Eclipse Kepler and JBOSS7

Posted on

I am facing little problems in running the projects in LINUX platform...If anyone can help then it would be very helpful...JBOSS is installed and localhost is also running properly.But when I am running the simple Hello world project in Eclipse after server configuration. Its showing the error.

HTTP Status 404 - /jspHello
type Status report
message /jspHello
description The requested resource (/jspHello) is not available.
JBoss Web/7.0.13.Final

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hello.jsp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>




Insert title here

<% System.out.println("Hello World!"); %>


index.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Insert title here

hello World


**web.xml**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">

<display-name>jspHello</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file> 
<welcome-file>hello.jsp</welcome-file>

</welcome-file-list>
</web-app>
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.