I have concept that all the class files present at WEB-INF/classes are available to whole application (
servlets,
jsp).
but i got a strange behaviour of
tomcat. when i placed "Counter.class" in classes/Counter.class location and tried to access it in JSP page at application home directory, jsp gave error of not resolving Counter class.
and when i placed Counter.class in model.* package, classes/model/Counter.class, and import package in jsp page than jsp recognized it.
why in first try jsp has not recognized the Counter.class.
Kind Regards