posted 18 years ago
hi all,
i am coding simple tags in Custom tags. but i am not able to compile tag handler. compiler throws error at line 1 - cannot resolve symbol SimpleTagSupport,line 4 - cannot resolve symbol SimpleTagSupport and line 8 - cannot resolve symbol getJspWriter.
here is the tag handler code.
import javax.servlet.jsp.tagext.SimpleTagSupport;
import javax.servlet.ServletException;
import java.io.IOException
public class RandomHandler extends SimpleTagSupport
{
public void doTag() throws ServletException,IOException
{
getJspWriter.out("inside doTag method");
}
}
shall i have to provide any jar files related to custom tags?
Thanks in Advance