ahfei wrote:
>
> dear all:
>
> i wrote a jsp program , inside use a java bean to access database.i want to redirect 
>to another html page when a Exception in my bean,so i use below code ,but seems have 
>no helpful.
> <%@ page  import="java.sql.*" errorPage="/index.html"  %>
> can somebody help me?

This should work. Which product do you use? Does it support JSP 1.0/1.1, or an
earlier version where this feature is not included? If you use a JSP 1.0/1.1
product and it still doesn't work, please provide more details about what
happens.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to