Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4772

Convention Plugin can't use ${message}

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.5.10
    • 2.5.12
    • Plugin - Convention
    • Windows10+JDK7.0_80+tomcat7.0.76

    • Struts 2.5.10.1

    Description

      today i fount the plugin maybe have an issue.

      public class HelloWorldAction extends ActionSupport {
      	private String message;
      
      	public String getMessage() {
      		return message;
      	}
      
      	public void setMessage(String message) {
      		this.message = message;
      	}
      
      	public String execute() {
      		message = "Hello World, I come from Action Code";
      		return SUCCESS;
      	}
      }
      

      HelloWorld.jsp

       This is  ${message}   // the message is null and the action can't be called.
      

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            fairy fairy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: