struts2 - There is no Action mapped for namespace [/] and action name - Struts 2 -


i getting error when using annotation instead of xml in struts 2.

@namespace("/") @result(name = "success", location = "/output.jsp") public class helloanno extends actionsupport{     private string name;    @action(value = "/annotest")     public string execute(){         return success;     } @requiredfieldvalidator(message = "required!")     public string getname() {         return name;     }      public void setname(string name) {         this.name = name;     }  } 

enter image description here


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -