Link to home
Start Free TrialLog in
Avatar of CIPL-Senthil
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">OK</s:action></td>

But it is giving the following error

SEVERE: Could not execute action: /pages/tiles/HelloWorld.action
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

Avatar of girionis
girionis
Flag of Greece image

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.
Avatar of CIPL-Senthil
CIPL-Senthil

ASKER

Any more suggestions please.
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks