Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Accessing request. getHeader ( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing request. getHeader ("Authorization") from ActionForward class in Struts" Watch "Accessing request. getHeader ("Authorization") from ActionForward class in Struts" New topic
Author

Accessing request. getHeader ("Authorization") from ActionForward class in Struts

Andy Ralston
Greenhorn

Joined: Aug 24, 2004
Posts: 1
Hi there, I have a struts app and I am trying to get the request.getHeader("Authorization") variable for some authentication. I can get that variable in a basic JSP page, but I cant get it from the action servlet (its always null). I tried changing the scope in struts-config.xml but that didnt solve the issue.

Any suggestions?
 
 
subject: Accessing request. getHeader ("Authorization") from ActionForward class in Struts
 
Similar Threads
Mapping DB columns to Object
adding Objects to its Array
Websphere Security
j_security_check or login.do
Websphere Security