aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing request. getHeader ("Authorization") from ActionForward class in Struts