Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The difference between ApplicationHttpRequest and HttpServletRequest !!

451006May 21 2009 — edited May 27 2009
Hi, 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

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 24 2009
Added on May 21 2009
6 comments
2,104 views