title: Display user profile with unique url (jsp-servlet, MySql)
body: <p>So I am having a web app which allows me to register and login using jsp and servlets. I am connecting to the MySql database. 
  After user login servlet returns to the index.jsp, which is my home page.
  So now I need to make at insex.jsp something like:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="UserProfile.jsp/&lt;%=lg.getUsername()%&gt;"&gt;Your Profile&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>And my main problem is to understand how to make able to link UserProfile.jsp to after slash link? Maybe I should link to the UserProfile servlet first to retrieve all the iser data using Java Beans and then return to page UserProfile.jsp/username with all the parameters?
  But still cannot understand how to link jsp page to after slash information.
  Any example would be great! Thanks!!!</p>