/*
* Created on Mar 26, 2005
*/
package matlabRMI;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import rmi.*;
/**
* @author Ali KIZIL
*/
public class Debug extends TagSupport {
private static final long serialVersionUID = 1973029835863905209L;
private goOnlineClient goOnlineClient;
private String type;
public int doStartTag() throws JspException {
return EVAL_BODY_INCLUDE;
}
public int doEndTag() throws JspException {
// Get page attribute.
goOnlineClient = (goOnlineClient)pageContext.getAttribute("goOnlineClient");
goOnlineClient.debug(type, pageContext.getOut());
return EVAL_BODY_INCLUDE;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}