since you are working with struts this means that you have a hard time
currently.
This is not a struts problem somehow. It is more a jasper problem (the JSP
compiler
inside Tomcat, jetty....). This means that the compiler cannot compile your
JSP
(don't ask me why). So you get an empty .java file for the JSP and therefore
the
compiler fails and you get this funny exception (although you have the
javax.servlet stuff
in your classpath).
I have searched for this problem also quite long. Stupid jasper.
Unfortunately there seems nearly
no other JSP compiler implementation available as open source and you have
to live with it.
Actually, only as long as stick to JSPs.
I have switched from JSPs long time ago.