1

I am facing issue in displaying a struts action for result of json type. In the similar there is LoginJson.action which works fine. I do not understand where is the mistake. The error I could see is

Error 404 There is no Action mapped for namespace [/] and action name [RegisterJson] associated with context path [].

Here is my code :

enter image description here enter image description hereenter image description hereenter image description hereenter image description hereenter image description here!enter image description hereenter image description here

Roman C
  • 49,761
  • 33
  • 66
  • 176
Meher
  • 2,545
  • 3
  • 26
  • 53

1 Answers1

0

You have configured action with name RegsiterJson but in URL you entered RegisterJson, so it looks like a typo or you can redirect to the action

<action name="RegisterJson">
  <result type="redirectAction">RegsiterJson</result>
</action> 
Roman C
  • 49,761
  • 33
  • 66
  • 176