You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dave Newton (JIRA)" <ji...@apache.org> on 2017/03/25 15:38:41 UTC

[jira] [Commented] (WW-4772) Convention Plugin can't use ${message}

    [ https://issues.apache.org/jira/browse/WW-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941762#comment-15941762 ] 

Dave Newton commented on WW-4772:
---------------------------------

Can you provide more details?

> Convention Plugin can't use ${message}
> --------------------------------------
>
>                 Key: WW-4772
>                 URL: https://issues.apache.org/jira/browse/WW-4772
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.5.10
>         Environment: Windows10+JDK7.0_80+tomcat7.0.76
>            Reporter: fairy
>              Labels: easyfix
>
> hi,
> today i fount the plugin maybe have an issue.
> public class HelloWorldAction extends ActionSupport {
> 	/**
> 	 * 
> 	 */
> 	private static final long serialVersionUID = 3344898669703270265L;
> 	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";
> 		System.out.println("test");
> 		return SUCCESS;
> 	}
> }
> HelloWorld.jsp
>  This is  ${message}   // the message is null and the action can't be called.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)