Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

http 404 status error

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
INDEX_JSP.JPG
[Thumbnail for INDEX_JSP.JPG]
INDEX.jsp
GERONIMO-WEB_XML_GENERAL.JPG
[Thumbnail for GERONIMO-WEB_XML_GENERAL.JPG]
geronimo-web.xml
HTTP-404-ERROR_CONSOLE.JPG
[Thumbnail for HTTP-404-ERROR_CONSOLE.JPG]
http status 404 error
 
Sheriff
Posts: 22796
131
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please KeepItDown. I'm not even going to bother reading it with all those capital case words.
 
Shanmuga Sundaram Soundararajan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sry i dnt kno abt caps nd al realy..........

sry. nw aftr wrds wnt use caps.... m realy sry....
reply
    Bookmark Topic Watch Topic
  • New Topic