I am writing a Java-based web application that in a real production environment would be closed by another application that would set certain HTTP request headers before the request gets into my application.
However, in the development environment, I do not have a termination application for which I need to create a web application layout that mimics the same behavior. that is, this false application should set the request headers and redirect or forward or something that I do not know :) to a specific page in my application.
How can i do this?
source share