Hello frns,
I have a
servlet ViewServlet.java where I take a request dispatcher object and try to forward the request to another page hello.jsp that has absolutely nothing except a hello message. Even though I am getting a strange error like the following in
Jboss app server. I have not configured jsps in web.xml file as they can be used still.
"20:33:50,029 ERROR [Engine] ApplicationDispatcher[/multirecordview] Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: /hello.jsp(0,36) equal symbol expected
"
after a few stack trace it gives
"at component.ViewServlet.doPost(ViewServlet.java:64)"
and my line no 64 is a System.out.println() just after forward. When I print the exception I get..
"org.apache.jasper.JasperException: /hello.jsp(0,36) equal symbol expected"
ViewServlet.java
================
62 : RequestDispatcher requestDispatcher = getServletContext().getRequestDispatcher("/hello.jsp");
63 : requestDispatcher.forward(request, response);
hello.jsp
=========
<%@ page language="java" contentType"text/html" %>
<html>
hello
</html
I hope I have made the things clear. Can anyone put some light on this ..
Waiting for replies,
nitin