1 2 3 27 28 package jsp2.examples.simpletag; 29 30 import javax.servlet.jsp.JspException ; 31 import javax.servlet.jsp.tagext.SimpleTagSupport ; 32 import java.io.IOException ; 33 34 37 public class HelloWorldSimpleTag extends SimpleTagSupport { 38 public void doTag() throws JspException , IOException { 39 getJspContext().getOut().write( "Hello, world!" ); 40 } 41 } 42 | Popular Tags |