15 lines
360 B
Java
15 lines
360 B
Java
|
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 !" );
|
||
|
}
|
||
|
}
|