views:

8

answers:

0

I am working on a J2EE struts web application. I want to send application information to the server through the Request Headers.

Is there anyway that i can add a custom header information like isValidUser: true to the HttpServletRequest object programatically just like we do it using addHeader method in the HttpServletResponse class.

I don't want to send the information through the Request Params / Query string and i want to send application information to the server in the Request Headers Only.

Any alternate way to achieve this ? Thanks in advance for your time and attention.