| Author |
Conversion of RequestFacade into ApplicationHttpRequest request
|
swapnil vedpathak
Greenhorn
Joined: Mar 15, 2006
Posts: 8
|
|
Hi, my appplication involves communicating an Jsp page on server from Stand-alone Java Program,which is on my local machine.In this application,i am getting the value of Request object in the form of "org.apache.catalina.connector.RequestFacade@b40443" instead i want to receive the request as "org.apache.catalina.core.ApplicationHttpRequest@3f3b9b".So is it possible to convert the Request Type?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56214
|
|
RequestFacade implement ServletRequest, so you can simply cast the object if you need to. In order to be able to cast to an HttpServletRequest you'd need an HttpRequestFacade instance. Is it possible that your instance is an HttpRequestFacade down-casted to a RequestFacade?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Conversion of RequestFacade into ApplicationHttpRequest request
|
|
|