- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class HTTPIncludeServlet
extends GetPostServlet
This servlet is able to forward any request to any URL (supported by
URLConnection
) including its GET and POST data.
Forwarding POST data is only possible if getParameter()
,
getInputStream()
or any other method that consumes the POST
data has been called previously on the specified request-object.
The URL to forward the request to must be specified with a GET parameter
targetURL
. (You have to include this parameter in the URL,
you cannot use the
directive for this.)
- Author:
- Ben Stöver
- See Also:
- Serialized Form