cours0708/P51/apache-tomcat-6.0.14/webapps/blankoworld/WEB-INF/classes/jsp2/bonjour.java

15 lines
360 B
Java
Raw Normal View History

2008-11-25 21:11:16 +00:00
package jsp2;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;
/**
* * SimpleTag handler that prints "Hello, world!"
* */
public class bonjour extends SimpleTagSupport {
public void doTag() throws JspException, IOException {
getJspContext().getOut().write( "Bonjour !" );
}
}