In my application we use Sinmple MVC2 model. When i allow .pptx and .docx. i set its content type properly at
JSP page but at the time of opening it always displays 2 alerts as "Content in this file is currepted. Document can not be opened." After clicking ok it shows another alert that content can be recovered if you trust on this source then click "YES".
After clicking yes document is being displayed properly. How could i avoid thi proble. And there is also another issue that after allowing txt document HTML code appears in this document.
DocX
lStrContentType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
PPTX
lStrContentType = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
Thanks in Advance