[sword-devel] Website error in Firefox
Peter von Kaehne
refdoc at gmx.net
Tue Dec 16 07:55:55 MST 2008
That is because Apache did not proxy through to Tomcat, but tried to
read and make sense of JSP pages.
It is working now though.
Peter
David Haslam wrote:
> Not the only error!
>
> The bottom of the page looks like:
>
> <%@ include file="project-blurbs/glosung.jsp" %> <%@ include
> file="project-blurbs/bibledit.jsp" %> <%@ include
> file="project-blurbs/dreambeamer.jsp" %> <% } %> <% if
> ("About".equals((String)request.getParameter("section"))) { %> <%@ include
> file="pages/about.jsp" %> <% } %> <% if
> ("Publishers".equals((String)request.getParameter("section"))) { %> <%@
> include file="pages/biblesocieties.jsp" %> <% } %> <% if
> ("Contact".equals((String)request.getParameter("section"))) { %> <%@
> include file="pages/contact.jsp" %> <% } %> <% if
> ("FAQ".equals((String)request.getParameter("section"))) { %> <%@ include
> file="pages/faq.jsp" %> <% } %> <% if
> ("News".equals((String)request.getParameter("section"))) { %> <%@ include
> file="pages/news.jsp" %> <% } %> <% if
> ("Volunteers".equals((String)request.getParameter("section"))) { %> <%@
> include file="pages/volunteers.jsp" %> <% } %> <% if
> ("Applications".equals((String)request.getParameter("section"))) { %> <%@
> include file="pages/applications.jsp" %> <% } %>
> <%@ include file="include/crosswire_footer.jsp" %>
>
> -- David
>
>
> David Haslam wrote:
>> The top of the main page has this today, as viewed in Firefox 3.0.4
>>
>> <%@ page import="java.util.Vector" %> <% String ua = request.getHeader(
>> "User-Agent" ); boolean isMSIE = ( ua != null && ua.indexOf( "MSIE" ) !=
>> -1 ); response.setHeader( "Vary", "User-Agent" ); %> <% if( isMSIE ){ %>
>> <% } else { %> <% } %> <%@ include file="include/crosswire_header.jsp"
>> %> <%@ include file="include/crosswire_menu.jsp" %>
>> <% if (request.getParameter("section") == null) { %>
>>
>> -- David
>>
>
More information about the sword-devel
mailing list