Action in struts 2 by using POJO class
As we discussed in earlier tutorials that any POJO class can be used as action class in struts 2. Only requirement is that it must have one no-argument method that returns a String or Result object. The execute() method is used by default if no-argument method is not there. Example: login.jsp <%@ taglib uri="/struts-tags" prefix="s"%> … Read more