Hello all,
    I have used struts before, but I have never configured it or eclipse
before and I am new to Struts2.  I am trying to configure that struts-blank
project, but I am receiving the following error when I attempt to accept the
page:

SEVERE: Could not find action or result
There is no Action mapped for action name HelloWorld. - [unknown location]
    at com.opensymphony.xwork2.DefaultActionProxy.prepare(
DefaultActionProxy.java:186)
    at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(
StrutsActionProxyFactory.java:41)
    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(
Dispatcher.java:494)
    at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(
FilterDispatcher.java:419)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:447)
    at java.lang.Thread.run(Thread.java:619)

The action is mapped in the example.xml:

        <action name="HelloWorld" class="example.HelloWorld">
            <result>/example/HelloWorld.jsp</result>
        </action>
Which is included in the struts.xml:

    <include file="example.xml"/>

The action call is coming from the index.htm:

"<META HTTP-EQUIV="Refresh" CONTENT="0;URL=example/HelloWorld.action">"


and is called from the Web.xml:

    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.jsp</welcome-file>
        <welcome-file>index.html</welcome-file>
    </welcome-file-list>

Is there something in the configuration of Eclipse Europa that I need to
change?  Everything appears to be present, but the mapping is not being
found.

Any help would be appreciated.

Reply via email to