⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 title.java

📁 spring + ibatis + struts
💻 JAVA
字号:
package tags;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

public class Title  extends TagSupport
{
	private static final long serialVersionUID = 1L;
	private String inputTitle;
	private String describe="";
	public int doEndTag() throws JspException
	{
		try
	    {
	        JspWriter out = pageContext.getOut(); // jsp out stream.
	        out.write(describe);
	        out.write("<h3><i>");
	        out.write(inputTitle);
	        out.write("</i></h3>");
	    }
        catch (IOException e)
        {
            throw new JspException(e);
        }
        return super.doEndTag();
    }
	/**
	 * @return the inputTitle
	 */
	public String getInputTitle() {
		return inputTitle;
	}
	/**
	 * @param inputTitle the inputTitle to set
	 */
	public void setInputTitle(String inputTitle) {
		this.inputTitle = inputTitle;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -