Hi,
I wonder if you are using JSP1.0. Because, what you said is possible with JSP1.0.
You can forward the req, from a jsp to a servlet and then from there to another
JSP/servlet and so on...You can absolutely can form a chain!
-Ram
Frederik Haesbrouck wrote:
> I use the chaining mechanism (jsp:forward or
> RequestDispatcher.forward()) to handle all my HTTP requests.
> The requests itself are POSTed originally to a JSP. This then forwards
> to a servlet, normally forwarding it again to a JSP.
>
> But, from time to time, I can only redirect the client to a general HTML
> page. When I tried this (from within a servlet) I get (once again)
> different results using different JSP Engines:
>
> - JWSDK v1.0:
> Error: 400
>
> HTTP method POST is not supported by this URL
>
> - JRun 2.3.3 (build 154):
> HTTP/1.1 200 OK Server: JRun Web Server/2.3 Date: ma, 27 sep 1999
> 15:14:47 GMT+00:00 Content-Length: 2116 Connection: Keep-alive
> Content-Type: text/html Last-modified: ma, 27 sep 1999 10:32:18
> GMT+00:00
> + <part of the page I wanted to show>
>
> Should I solve this problem myself or is this something that should be
> specified in some future specification of JSP or Servlets ?
>
> For fixing it myself, I tought of determining the suffix of the URLPATH
> of the RequestDispather object, sadly this one hasn't a method to access
> the URLPATH...
>
> Frederik Haesbrouck
>
> ===========================================================================
> 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
===========================================================================
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