Hi
Today I did three struts 2 basic applications.
2 applications in the link(
http://www.tutorialspoint.com/struts_2/struts_actions.htm ) which you mentioned .
and another application with "namespace" attribute ,but I did not get any "No such Action" error.
this is my struts.xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.devMode" value="true" />
<package name="helloworld" namespace="/" extends="struts-default">
<action name="hello"
class="com.tutorialspoint.struts2.HelloWorldAction"
method="execute">
<result name="success">HelloWorld.jsp</result>
</action>
</package>
<package name="helloworld1" namespace="/first" extends="struts-default">
<action name="hello"
class="com.tutorialspoint.struts2.HelloWorldAction"
method="execute">
<result name="success">HelloWorld.jsp</result>
</action>
</package>
<package name="helloworld2" namespace="/second" extends="struts-default">
<action name="hello"
class="com.tutorialspoint.struts2.HelloWorldAction"
method="execute">
<result name="success">HelloWorld.jsp</result>
</action>
</package>
</struts>
with "first" "second" names, I created 2 folder along with "WEB_INF" folder and placed the jsp files inside those folders.
Please post your files,so that I can
Test your Application.
These applications I did on Linux 64 bit machine with
tomcat server.
Thanks