title: How to display uploaded doc (ms word) & PDF in browser Spring MVC
body: <p>I designed a spring MVC application where User can upload doc or pdf files to application and it will be stored in My SQL.</p>
  
  <p>I made download link so that user can download the uploaded file and it works fine.</p>
  
  <p>How could we make it readable online (without downloading) in User's browser(like <a href="http://www.scribd.com" rel="nofollow noreferrer">www.scribd.com</a>)? (As of now I made tag <code>&lt;embed src="${pageContext.request.contextPath}/ebook/${ebook.filename}" width="1000" height="2000" /&gt;</code> tag in HTML, PDF views perfect as PDF reader is installed in PCand PDF plugin is installed in browser but doc file not displayed)</p>
  
  <p><a href="https://stackoverflow.com/questions/28551106/java-spring-mvc-display-pdf-in-browser">Here</a> he says browsers doesn't support viewing PDF files.(even .doc files)</p>
  
  <p>Is there any plugins do render uploaded doc/pdf files in the browser to be read online?</p>