📄 testbean.java
字号:
/*
* This Source code was written by theKM* (the KeyboardMonkey) and is held under
* The popular ISYM.NSMYP technology agreement (I've Shown You Mine, Now Show Me
* Yours Please). In which case, writing source that uses this source in part or
* in whole means that it would be nice of you to show me at least what it does
* and how my source played a part.
* All rights reserved... arron@keyboardmonkey.com
*/
package com.km.struts.tutorial.test;
/** This bean only exists to make sure that the webapp for the tutorial is
* is set up correctly and the nesting extension is running.
*/
public class TestBean {
/* A "fake" nested property to test against */
public TestBean getNestedProperty() {
return this;
}
/* a nested property to write to the screen */
public String getNestedHello() {
return this.helloString;
}
/* usual private references */
private String helloString = "Hello there from a nested property!";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -