The difference between ApplicationHttpRequest and HttpServletRequest !!
451006May 21 2009 — edited May 27 2009Hi, i am confusing with org.apache.catalina.core.ApplicationHttpRequest and javax.servlet.http.HttpServletRequest .
i write the following code in a jsp
String ar = request.getParameter("ar");
when the type of request is org.apache.catalina.core.ApplicationHttpRequest, it works well.
but when the type is javax.servlet.http.HttpServletRequest , it throw nullpoint exception.
so i think the two request scope is different, but i can't find valuable information threw google.
can anybody tell me why the two request is different ??
thank you !!!
Edited by: taomingzhe on May 22, 2009 10:29 AM