I am moderately experienced with tomcat/jsp/servlet web development with
earlier versions, I am currently using apache-tomcat-7.0.39. I have a
simple JSP (that I reduced to one line of code: <h1><%
out.println("Hello"); %></h1>) that I wanted to test but all browsers,
ie, Firefox and Chrome would only display the source code rather than
render the content. Naturally, I Googled the problem and could not get a
satisfactory answer/explanation. This is a simple app at this point with
no virtual servers and if apache is re-setting the document-type from
text/html to text/plain, I was not able to find a configuration setup to
prevent it from happening.

 

Thanks,

 

Mohammed El-Mekki

Reply via email to