最近从网上看的一个题,感觉不错所以就下了改改,没有想到只有那么简单的页面写起来真复杂,由于本人新手,对接口不是很熟,所以想借网上朋友的帮忙,看看能否实现,谢谢各位大侠了.
a类接口
public interface IColumnEditor
{
org.apache.ecs.html.TD render(albel.tags.table.model.Cell rowcol) 
throws javax.servlet.jsp.JspException;
}
b类调用 
public static IColumnEditor getColumnEditor()
{
       return (IColumnEditor)Beans.getBean("columnEditor");
}
c类实现
 IColumnEditor colEdit=Manager.getColumnEditor();
 TD td=colEdit.render(cell)d类实现
public class ColumnEditor implements IColumnEditor
{
public org.apache.ecs.html.TD render(Cell rowcol) throws JspException
{
}
}
在这里我想把接口去掉,试了很多方法,但是都不对,想来是我对理解太浅了.