changed to JSP, and it is working now.