Skip to Main Content

New to Java

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!

How to get a reference to the HttpServletRequest request object....

807600Jul 26 2007 — edited Jul 27 2007
Hi,

In each jsp page you have access to a very important variable request(of type HttpServletRequest).

Is there a possibility to get a reference to this object inside of a static method of an user-defined class without being forced to send it as a parameter to that method?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2007
Added on Jul 26 2007
9 comments
480 views