I am wrong. API says
it includes the contect of a HTML file too. So make sure you have a .html file
Yes, I had html file there when I used html file path and it didn't work. When I changed the html file to be a jsp file and used jsp file path, it worked.
Error Message when I used html file:
exception
org.apache.jasper.JasperException: getOutputStream() has already been called for this response
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802
[ March 14, 2006: Message edited by: Xiaoxiao Lam ]