Class ActionCommand


  • public class ActionCommand
    extends Object
    ActionCommand is the result of an action execution. By returning an ActionCommand the action 'tells' the ActionServlet how to perform further.
    Author:
    another
    • Constructor Detail

      • ActionCommand

        public ActionCommand()
    • Method Detail

      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • getPage

        public String getPage()
      • setPage

        public void setPage​(String page)
      • getTarget

        public String getTarget()
        Returns the target for the redirect or forward. First the url parameter is checked, if no url parameter is specified, page parameter is considered and the url to the specified page is returned.
        Returns:
        the target for the redirect or forward.
      • cms2enum

        public static final CommandType cms2enum​(int value)
      • getParameters

        public String getParameters()
      • setParameters

        public void setParameters​(String parameters)
      • addParameters

        public void addParameters​(String someParameters)