最好把程序全部贴出来!!
你不会让人家给你在猜测你哪出问题了吗?
从字面看来,似乎是不能页面重定向的异常?
单凭这两行代码,没法搞!!

解决方案 »

  1.   

    对英文怎么样,估计以下能给你帮助!!
    getRequestDispatcher
    public RequestDispatcher getRequestDispatcher(java.lang.String path)Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path. A RequestDispatcher object can be used to forward a request to the resource or to include the resource in a response. The resource can be dynamic or static. 
    The pathname must begin with a "/" and is interpreted as relative to the current context root. Use getContext to obtain a RequestDispatcher for resources in foreign contexts. This method returns null if the ServletContext cannot return a RequestDispatcher.Parameters:
    path - a String specifying the pathname to the resource
    Returns:
    a RequestDispatcher object that acts as a wrapper for the resource at the specified path
    See Also: 
    RequestDispatcher, getContext(java.lang.String)
      

  2.   

    这个异常虽然没搞清楚,不过问题倒是解决了,是因为程序连续执行了两个重定向语句,不是数据库事务的问题!