struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajagopal_Yendluri" <Rajagopal_Yendl...@satyam.com>
Subject RE: problem There is no Action mapped for namespace / and action name hellome. -
Date Fri, 23 Nov 2007 09:26:14 GMT
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:tripti@chambal.com] 
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:tripti@chambal.com] 

> 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: user-unsubscribe@struts.apache.org

> For additional commands, e-mail: user-help@struts.apache.org

> 

> 

> 

> 

> 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: user-unsubscribe@struts.apache.org

> For additional commands, e-mail: user-help@struts.apache.org

> 

> 

> 

 

-- 

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: user-unsubscribe@struts.apache.org

For additional commands, e-mail: user-help@struts.apache.org

 

 



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.

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message