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");
}
}
classpath is set as follows :
set CLASSPATH=.;<
java install directory>\bin;<java install directory>\lib;<java install directory>\lib\j2ee.jar;<
tomcat install directory>\common\lib\servlet-api.jar;<tomcat install directory>\common\lib\jsp-api.jar;
shall i have to provide any jar files related to custom tags?
Thanks in Advance