Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Andy Ralston
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic