proxy « Servlet « JSF Q&A





1. How do I reliably access the HttpServletRequest in a jspx when it's behind a proxy?    stackoverflow.com

I've got a jspx that needs to know the current HttpServletRequest's getServerName(). The jspx can fetch this with #{mybean.serverName} from its bean, like this:

public String getServerName() {
  HttpServletRequest ...