Copyright.java
public class Copyright {
private String copyrightStr="CopyRight 2018 www.clack.com"+"CLACKLUY有限公司<br>"+
"服务热线:400-123-123 15082654555 传真:400-123123";
public String getCopyrightStr(){
return copyrightStr;
}
}
index.jsp
<table>
<tr bgcolor="skyblue">
<td align="center">生成的版权信息</td>
</tr>
<tr>
<td>
<jsp:useBean id="copyright" class="com.count.Copyright"></jsp:useBean>
<jsp:getProperty property="copyrightStr" name="copyright"/>
</td>
</tr>
</table>
捕获.PNG
网友评论