struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Newton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4772) Convention Plugin can't use ${message}
Date Sat, 25 Mar 2017 16:29:42 GMT

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

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

[~fairy] Do you have a version that doesn't rely on Eclipse, e.g., a Maven-based project?

> 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
>
> today i fount the plugin maybe have an issue.
> {code}
> 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;
> 	}
> }
> {code}
> HelloWorld.jsp
> {code}
>  This is  ${message}   // the message is null and the action can't be called.
> {code}



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

Mime
View raw message