• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1313
  • Last Modified:

getting a response.getAttribute from filter set in JSP

Hi,

   I want to do a response.getAttribute in one of my java filters that i set in JSP.

Let say I do a response.setAttribute("name","sunmaster"); in a JSP page.

when do a post,it will go pass a java filter. In this java filter,whenever i do a response.getAttribute("name"), i got null value.

what went wrong. is it possible to do this?

thanks.

0
sunmaster
Asked:
sunmaster
1 Solution
 
fargoCommented:
u should do request.setAttribute()...and request.getAttribute().. not response!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now