Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Struts 2 : Http Status 404 Error

706710Oct 25 2008 — edited Oct 31 2008
Hi All,
I don't know which forum is for Struts 2 ,so i'm posting my problem here..

I have started the tomcat server V5.5,It has started successfully.

Please find the below code details.
------------------------- struts.xml ------------------------- 

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts PUBLIC    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="act" namespace="/act" extends="struts-default">
<action name="cooler" class="com.abc.tutorials.struts.hw.HelloWorld">
<result>/HelloWorld.jsp</result>	
</action>
</package>
</struts>

---------------------------------------------------------------------------
I started the tomcat server and typed http://localhost:8080/StrutsHelloWorld/act/cooler.action
in the web browser.
i get the 404 ERROR as shown below.
HTTP Status 404 - /StrutsHelloWorld/act/cooler.action
type Status reportmessage /StrutsHelloWorld/act/cooler.action
description The requested resource (/StrutsHelloWorld/act/cooler.action) is not available.
Apache Tomcat/5.5.20

ERROR(404) : "The requested resource(/StrutsHelloWorld/act/cooler.action) is not available."
Help provided will be highly appreciated.

Please help me to resolve this error.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2008
Added on Oct 25 2008
5 comments
1,441 views