Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

getting the request and response within a class instantiated in a JSP page

843836Oct 4 2004 — edited Oct 14 2004
Hi
i have a jsp page . In this page i am instantaiating a class (say TaskProcessor) . I need to access the request and response objects of the jsp page with in the class TaskProcessor (without passing the request and response explicitly to the class).
Can i use the JspFactory.getPageContext() to get the page context for this or should i use getServletConfig().getServletContext()

Please so help me out on this it's urgent.
Thanks,
Babita
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2004
Added on Oct 4 2004
11 comments
360 views