wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes http 404 status error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "http 404 status error" Watch "http 404 status error" New topic
Author

http 404 status error

Shanmuga Sundaram Soundararajan
Greenhorn

Joined: Jan 22, 2012
Posts: 3
I HAVE INTEGRATED ECLIPSE WITH WASCE 1.0.1.1

SERVER IS APACHE Geronimo 1.0

I HAVE CREATED A DYNAMIC WEB PROJECT NAMED SHAN.

THEN I CREATED A JSP PAGE NAME INDEX.jsp

THIS IS MY INDEX.jsp CODE :

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>SHAN</title>
</head>
<body>
THIS IS MY FIRST INDEX PAGE
</body>
</html>

THIS IS MY WE.XML PAGE :

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
SHAN</display-name>
<welcome-file-list>

<welcome-file>INDEX.jsp</welcome-file>

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

THIS IS GERONIMO-WEB.xml SOURCE:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.0" xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0" configId="SHAN/SHAN">
<context-root>/SHAN</context-root>
<context-priority-classloader>false</context-priority-classloader>
</web-app>

AFTER WRITING MY JSP CODE :
I RUN AS SERVER : APACHE GERONIMO 1.0

I GET HTTP 404 ERROR.

WHAT IS THE REASON FOR THIS. WHY I AM NOT GETTING OUTPUT.

PLEASE HELP ME.

THANKS IN ADVANCE.



[Thumbnail for INDEX_JSP.JPG]


[Thumbnail for GERONIMO-WEB_XML_GENERAL.JPG]


[Thumbnail for HTTP 404 ERROR_CONSOLE.JPG]

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19722
    
  20

Please KeepItDown. I'm not even going to bother reading it with all those capital case words.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Shanmuga Sundaram Soundararajan
Greenhorn

Joined: Jan 22, 2012
Posts: 3
sry i dnt kno abt caps nd al realy..........

sry. nw aftr wrds wnt use caps.... m realy sry....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: http 404 status error