title: how to take username using security:authentication tag in Spring?
body: <p>I am new to spring. I want send username of logged in user to my controller.
  I tried following code which is not working...</p>
  
  <pre><code>&lt;form:input path="bidderName" value="&lt;security:authentication property=/"principal.username/"/&gt;" /&gt;
  </code></pre>
  
  <p>at value field I want to take username of logged in user.
  Please Help. Thank you in Advance.</p>