< Browse > Home / J2EE, Java / Blog article: Apache not rendering HTML pages - Jboss Server

| Mobile | RSS

Apache not rendering HTML pages - Jboss Server

August 27th, 2009 | No Comments | Posted in J2EE, Java
pradeep.assrr

When you have an html page of size more than 1MB, Apache will restrict some part of the page to display. This would be usually images. So in order to allow Apache to show the entire page, the following code snippet has to be placed in web.xml file located in \jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\conf path above <load-on-startup>1</load-on-startup> line.

<init-param>
<param-name>sendfileSize</param-name>
<param-value>-1</param-value>
</init-param>

Leave a Reply 209 views, 1 so far today |
  • No Related Post

Leave a Reply

You must be logged in to post a comment.