tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Wolf <brw...@gmail.com>
Subject Re: The server encountered an internal error () that prevented it from fulfilling this request.
Date Sun, 01 Nov 2009 02:20:38 GMT
*Konstantin thanks for your help, it now works, only one  little caveat
below, for the record as others  need this information if they are trying to
configure the Nutch 0.9 module from Apache, as I am. I would only caution
that for some reason the first quotation mark in your statement needed to
be replaced, as I noted below. Its seems maybe you used two editors or
something  constructing the statement. If you copy it into wordpad and
magnify it you will see it.*




I am going to place this item on the Nutch list, as I have not seen a
response to it

On Sat, Oct 31, 2009 at 5:07 PM, Konstantin Kolinko
<knst.kolinko@gmail.com>wrote:

> 2009/11/1 Brian Wolf <brw314@gmail.com>:
> >
> > *description* *The server encountered an internal error () that prevented
> it
> > from fulfilling this request.*
> >
> > *exception*
> >
> > org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value
> >  language + "/include/header.html" is quoted with " which must be
> > escaped when used within the value
> >...
>
> Look at line 151 in your /search.jsp file and replace
> <jsp:include page=”<%=language + "/include/header.html"%>" />
> that you seem to have there with
> <jsp:include page=”<%=language + \"/include/header.html\"%>" />
>

not that!  use this -->

<jsp:include page="<%=language + \"/include/header.html\"%>" />






> See "Quoting in attributes" in chapter JSP.1.6 Quoting and Escape
> Conventions
> of the JSP specification.
>
>
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message