Hi,
I would like to include the static contents .html files into my
jsp. All static contents are available in the Apache Web server.
We are using APACHE 2.2.4 and
JBOSS 3.2.7. All dynamic contents in the Jboss server and static contents are in Web server due to performance issue.
I am using below syntax to include in jsp.
<jsp:include page="/news.html" flush="true" />
This news page is changing daily based on the activities. I am not getting any error, but the contents are not including. When I will use JSP directive then I will get below error.
ServletException in:/lottery/fr/loterie/news.jsp] /lottery/fr/loterie/news.jsp(47,0) File "/lottery/fr/loterie/news.html" not found'
I would like to use the jsp:action because of the days to day changes on news item.
APACHE httpd.conf files has set for the below
RewriteEngine on
RewriteCond %{REQUEST_URI} !.*\.(gif|png|jpg|pdf|js|css|swf|html)$
RewriteRule ^/(.*)
balancer://esi_loadbalancer/$1 [P] lbmethod=byrequests nofailover=On
Can you help me on this?