> try
> {
>
> getServletConfig().getServletContext().getRequestDispatcher("error
> .jsp?error
> =fatal error").forward (request,response);
>
> } catch (Exception ex) {
> ex.printStackTrace ();
> }
try this instead:
request.setAttribute("error","fatal error");
getServletConfig().getServletContext().getRequestDispatcher("error.jsp").for
ward(request,response);
> <%
> String error=(String)request.getParameter("error");
> out.println(error);
> %>
then in the jsp write this:
<%=request.getAttribute("error") %>
AndySoft
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html