title: How to get full URL which contains # from HttpServletRequest
body: <p>In my sample application i am displaying some records, based on # am scrolling down to a particular topic. But to edit that message user has to logon. But while constructing destination url in signin pagebased on request object of servlet am not getting the # in url.</p>
  
  <p>URL looks like www.mydomain:8080/SMP/Account/display/topic#M7</p>
  
  <pre><code>   public static String getFullURL(HttpServletRequest request) {
      StringBuffer requestURL = request.getRequestURL();//**http://xyz:8080/SMP/Account/display/topic**
      String queryString = request.getQueryString();
    .....
     }
  </code></pre>
  
  <p>FYI i have a restriction on setting referer.
  Is there any other-way to get full url. </p>