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.