CIPL-Senthil
asked on
Problem in integrating struts 2 with struts 1
Hi,
I am having an app build on struts 1 but i want to develop other modules in app in struts2 and add to teh application. I have configured everything. But it is giving error when requesting for an action
in web.xml i configured FilterDispatcher filter and i placed struts.xml in class folder and i am trying in the following manner
<td><s:action name="HelloWorld.action">O K</s:actio n></td>
But it is giving the following error
SEVERE: Could not execute action: /pages/tiles/HelloWorld.ac tion
There is no Action mapped for namespace /pages/tiles and action name HelloWorld.action. - [unknown location]
my jsp page is in pages directory of the app.
Please help me to solve this problem
I am having an app build on struts 1 but i want to develop other modules in app in struts2 and add to teh application. I have configured everything. But it is giving error when requesting for an action
in web.xml i configured FilterDispatcher filter and i placed struts.xml in class folder and i am trying in the following manner
<td><s:action name="HelloWorld.action">O
But it is giving the following error
SEVERE: Could not execute action: /pages/tiles/HelloWorld.ac
There is no Action mapped for namespace /pages/tiles and action name HelloWorld.action. - [unknown location]
my jsp page is in pages directory of the app.
Please help me to solve this problem
Do you mean you want to add a struts2 application to a struts1? I'd suggest you don't mix them. As for your error message, if your struts.xml file is correct then it might be an incompatibility between your two stuts versions.
ASKER
Any more suggestions please.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks