Does anyone know if it is possible to force a client browser (from jsp code) to send to the server the http header "referrer"?I have a strange problem with my site: some clients send it, but others don't and the server crushes in the latter case.Anybody know anything about it?
Don't rely on any headers sent by the client. They can easily be modified in browsers such as Opera. Also, the browser must send it, which means anybody could write a small hack that sends the data you're expecting, and retrieve sensitive information, if you allow them to.
So the answer to your question is no, it's browser/client-based.