You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by dipesh <di...@gmail.com> on 2008/10/11 07:25:49 UTC

Re: WELCOME to nutch-dev@lucene.apache.org

Hello,

I downloaded the latest version of Nutch(0.9) and installed it. Everything
went fine but the search. I crawled a site and ran the jsp application to
find the HTTP Status 500 error.

The error pointed following line of *search.jsp *

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

I changed it to following(escpaed the ") and the error was gone.

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

I'm using *Jdk 1.6, with Ubuntu(Hardy), Apache Tomcat 6.0.*

Sincerely,
Dipesh




---------ERROR---------
HTTP Status 500 -
------------------------------

*type* Exception report

*message*

*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
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)

Re:Re: WELCOME to nutch-dev@lucene.apache.org

Posted by pa...@163.com.
because the /include/header.html is missed in the release, you can download it from other release.


在2008-10-11,dipesh <di...@gmail.com> 写道:

Hello,

I downloaded the latest version of Nutch(0.9) and installed it. Everything went fine but the search. I crawled a site and ran the jsp application to find the HTTP Status 500 error.

The error pointed following line of search.jsp 

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

I changed it to following(escpaed the ") and the error was gone.

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

I'm using Jdk 1.6, with Ubuntu(Hardy), Apache Tomcat 6.0.

Sincerely,
Dipesh




---------ERROR---------

HTTP Status 500 - 

type Exception report

message

descriptionThe 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

	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)