Struts.xml should be in WEB-INF\classes folder. Try it out...

 

If not  Change the <s:url > as follows:

 

<s:a  href="<s:url action="HelloWorldAction" /> "> Say Hello !!! </s:a>

 

 

Regards,

Rajagopal Y (Raj)

HCU-Consulting & Enterprise Solutions.

Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.

 

-----Original Message-----
From: kushi [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 23, 2007 2:51 PM
To: user@struts.apache.org
Subject: RE: problem There is no Action mapped for namespace / and
action name hellome. -

 

 

 

structs.xml is placed at "C:\Documents and

Settings\Admin\structExample\src\java\structs.xml"

 

action is called in index.jsp like " <s:url action= </s:url>">Hello "

 

 

Rajagopal_Yendluri wrote:

> 

> Where is your struts.xml placed ???? How you are invoking the action

> from your jsp ???

> 

> Regards,

> Rajagopal Y (Raj)

> HCU-Consulting & Enterprise Solutions.

> Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.

> -----Original Message-----

> From: kushi [mailto:[EMAIL PROTECTED] 

> Sent: Friday, November 23, 2007 1:23 PM

> To: user@struts.apache.org

> Subject: problem There is no Action mapped for namespace / and action

> name hellome. -

> 

> 

> Hello 

> i am beginner,i have just make a small hello program .when i run my

> program

> i fine this error.

> 

> HTTP Status 500 -

> 

> type Exception report

> 

> message

> 

> description The server encountered an internal error () that prevented

> it

> from fulfilling this request.

> 

> exception

> 

> There is no Action mapped for namespace / and action name hellome. -

> [unknown location]

> 

>
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.ja

> va:186)

> 

>
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(Strut

> sActionProxyFactory.java:41)

>     

>
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:4

> 94)

> 

>
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher

> .java:419)

> 

>
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi

> lter.java:368)

> 

> note The full stack trace of the root cause is available in the Apache

> Tomcat/5.5.17 logs.

> Apache Tomcat/5.5.17

> 

> please let me suggest why this error is encounter.

> 

> Thanks

> kushi

> -- 

> View this message in context:

>
http://www.nabble.com/problem-There-is-no-Action-mapped-for-namespace---

> and-action-name-hellome.---tf4860176.html#a13908169

> Sent from the Struts - User mailing list archive at Nabble.com.

> 

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

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

> 

> 

> 

> 

> DISCLAIMER:

> This email (including any attachments) is intended for the sole use of
the

> intended recipient/s and may contain material that is CONFIDENTIAL AND

> PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying

> or distribution or forwarding of any or all of the contents in this

> message is STRICTLY PROHIBITED. If you are not the intended recipient,

> please contact the sender by email and delete all copies; your
cooperation

> in this regard is appreciated.

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

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

> 

> 

> 

 

-- 

View this message in context:
http://www.nabble.com/problem-There-is-no-Action-mapped-for-namespace---
and-action-name-hellome.---tf4860176.html#a13909082

Sent from the Struts - User mailing list archive at Nabble.com.

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

Reply via email to