Hi,
I am working on a example in chapter 7 of HEadFirst
Servlet and
JSp
and
when i am not putting class Counter inside a package foo and commenting the first line which state package foo; and simply putting the class Counter under classes its not working and when i am putting it inside package foo its working
why its happening