You have not specified how you are accessing it thru your browser.


Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9884321672
Extn: 4307



-----<[EMAIL PROTECTED]> wrote: -----


To: <user@struts.apache.org>
From: <[EMAIL PROTECTED]>
Date: 01/05/2006 02:23PM
Subject: simple struts example : HTTP 404


Hi,

I have just started writting struts application,however i am getting a
HTTP 404 error.

Below is my index.jsp

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>

<html>

<head>

<link href="<c:url value='/emp.css'/>" rel="stylesheet" type="text/css">

<title><fmt:message key="title.employeeApp"/></title>

</head>

<body>

<h1><fmt:message key="title.employeeApp"/></h1>

<br/>

<a href='<c:url value="setupEmployeeForm.do"/>'>Add An Employee</a>

</body>

</html>

Here is my struts-config.xml :

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC

"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"

"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>

<struts-config>

<form-beans>

<form-bean name="employeeForm" type="emp_services.EmployeeForm"/>

</form-beans>

<action-mappings>

<action path="/setupEmployeeForm"

forward="/employeeForm.jsp"/>

<action path="/insertEmployee"

type="emp_services.InsertEmployeeAction"

name="employeeForm"

scope="request"

validate="false">

<forward

name="success"

path="/confirmation.jsp"/>

</action>

</action-mappings>

<message-resources parameter="MessageResources" null="false"/>

</struts-config>



Could u let me know where I going wrong.



Kind regards,



Rakesh Bhat

PrimeSourcing(tm)

The Global IT Services  business from i-flex - "Add Value Reduce Risk"
www.iflexsolutions.com/services/services.asp

i-flex solutions limited - Bangalore

Phone : (080) 5759-6873

Email :  Rakesh.Bhat@ iflexsolutions.com






DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended
recipient you should not disseminate,distribute,store,print, copy or
deliver this message.Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system.E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted,corrupted,lost,destroyed,arrive late or
incomplete or contain viruses.The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission. If verification is required
please request a hard-copy version.
All information in this communication, including attachments, is strictly
confidential and intended solely for delivery to and authorized use by the
addresses(s) identified above, and may contain privileged, confidential,
proprietary and/or trade secret information entitled to protection and/or
exempt from disclosure under applicable law. If you are not the intended
recipient, please take notice that any use, distribution or copying of this
communication, and/or any action taken or omitted to be taken in reliance
upon it, is unauthorized and may be unlawful. If you have received this
communication in error, please notify the sender and delete this
communication from your computer.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to