I have a
jsp file with included taglib directive that invoke to my class as following
//package
test;
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class MyTaglib extends BodyTagSupport {
............
}
It not work with error message
>>org.apache.jasper.JasperException: Unable to compile class for JSP
>>
>>An error occurred at line: -1 in the jsp file: null
>>
>>Generated
servlet error:
[javac] Compiling 1 source file
.....
but after uncomment at line "package test" , then it work !!! ,why ?