We help IT Professionals succeed at work.
Get Started

Problem in integrating struts 2 with struts 1

CIPL-Senthil
CIPL-Senthil asked
on
487 Views
Last Modified: 2013-11-24
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

Comment
Watch Question
CERTIFIED EXPERT
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE