Cannot get struts-blank operational
-----------------------------------

                 Key: WW-2486
                 URL: https://issues.apache.org/struts/browse/WW-2486
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.11
         Environment: Eclipse Europa, Apache Tomcat 6.0, MySQL 5.1, jre 6.0, 
jdk 1.6.0, Windows XP
            Reporter: Chriss Nold


I am new to both Eclipse and Struts2 and I am having issues with the struts2 
examples.
First, I open eclipse and import the .war file for the blank project, and set 
the Eclipse configuration to add it is a Tomcat project.  When I attempt to 
access the app, it fails to find the action mappings.  It appears to crash at 
the following line of the index.html:
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=example/HelloWorld.action">
giving the error in the browser:
The requested resource (There is no Action mapped for action name HelloWorld.) 
is not available.
and in the console:
There is no Action mapped for action name HelloWorld. - [unknown location]
and, before it fails, the app forwards to the URL:
http://localhost:8080/Blank/example/HelloWorld.action

The action mapping is present in the example.xml which is included in the 
struts.xml.
This is occurring with no modifications to the project.  Any help is 
appreciated.

Thank you,
Chriss

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to