problem with jsp:directive.page
I wrote a simple code like that;
<%! int a=6;%>
<% out.println(a); %>
here I've used xml tag for page directive, when i run this jsp file, the generated .java file does not contain import for java.io and java.net packages. I am running tomcat 4.0.1 both on windows and linux. this problem is not happening with <%@ %> tag. what may be the problem with xml style tag?