Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Struts2 with Rest service URL not working

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi Friends,

I am new to struts framework, and i am working on existing struts project for setting LDAP authentication. I don't have any idea of struts2 with REST service. Deployed the war into tomcat7 and hit the urls from browser & REST Client. But, i am not getting response (ERROR)

HTTP Status 404 - There is no Action mapped for namespace [/MascomWS/languageResource/Language/titleId] and action name [1174] associated with context path [/Lottus].

type Status report

message There is no Action mapped for namespace [/MascomWS/languageResource/Language/titleId] and action name [1174] associated with context path [/Lottus].

description The requested resource is not available.

Apache Tomcat/7.0.61



Could you please help to resolve the below issues.

a. Hitting URL from browser? What i made the mistake? why result is not appearing.

b. REST Client not giving result? Here what i made the mistake.

c. What should i check in my codes below? Can you please help me the steps to get result on the browser / REST Client.

my struts.xml

web.xml


Java class



 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please don't post the same question twice. It causes confusion and duplication of effort as the community tries to help everyone.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic