📄 springresult.java
字号:
package com.opensymphony.xwork2.spring;import com.opensymphony.xwork2.ActionInvocation;import com.opensymphony.xwork2.Result;public class SpringResult implements Result { private static final long serialVersionUID = -2877126768401198951L; private boolean initialize = false; // this String should be populated by spring private String stringParameter; public void initialize() { // this method should be called by spring this.initialize = true; } public void execute(ActionInvocation invocation) throws Exception { // intetionally empty } public void setStringParameter(String stringParameter) { this.stringParameter = stringParameter; } public String getStringParameter() { return this.stringParameter; } public boolean isInitialize() { return this.initialize; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -