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

Java EEWeb Frameworks

Avatar of undefined
Last Comment
CIPL-Senthil

8/22/2022 - Mon
girionis

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

ASKER
Any more suggestions please.
ASKER CERTIFIED SOLUTION
girionis

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
CIPL-Senthil

ASKER
thanks
Your help has saved me hundreds of hours of internet surfing.
fblack61