E
Ernst Blofeld
Is there a way to programmatically create a new object that implements
the HttpServletRequest and HttpServletResponse interface in tomcat
servlets?
For example, the servlet container will create the HttpServletRequest
and HttpServletResponse objects passed to the doPost() method:
public void doPost(HttpServletRequest request, HttpServletResponse
response)
The two parameters passed in implement the HttpServletRequest &
response
interfaces. But I don't see an obvious way to create a concrete class
that implements these interfaces.
the HttpServletRequest and HttpServletResponse interface in tomcat
servlets?
For example, the servlet container will create the HttpServletRequest
and HttpServletResponse objects passed to the doPost() method:
public void doPost(HttpServletRequest request, HttpServletResponse
response)
The two parameters passed in implement the HttpServletRequest &
response
interfaces. But I don't see an obvious way to create a concrete class
that implements these interfaces.