I have an Download link in a jsp. My requirement is whenever user clicks on download link, before providing the download data,i have to track the no of hits.
We are having a 3rd party page tracking, which returns a 1*1 pixel image after tracking is done.
what i am doing is, i am forwarding the user to some redirection.jsp .
In that redirection.jsp, i am calling the 1*1 pixel image tag(3rd party page tracking by loading an image), after that i am redirecting the user to actual download link.
But what happening now is, request is redirecting before the 3rd party page tracking image is loaded.