Thanks to both Alex and Ramadhany. This worked. :)
- Ram
Imam Nur Ramadhany wrote:
Hi,
I had same problem
I changed " with '
from <jsp:include page="<%= language + "/include/header.html"%>"/>
to <jsp:include page='<%= language + "/include/header.html"%>'/>
and it works.
Cheers,
Ramadhany
________________________________
From: M S Ram <[email protected]>
To: [email protected]
Sent: Monday, January 19, 2009 5:26:00 PM
Subject: Problem with Nutch on Eclipse & NetBeans
Hi,
In the search.jsp file, there is a line as follows:
<jsp:include page="<%= language + "/include/header.html"%>"/>
When I tried to invoke this from the client by submitting a search query in the
Nutch search interface, I see the following error:
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.
And when I tried to escape the qutoes within quote as follows,
<jsp:include page="<%= language + \"/include/header.html\"%>"/>
Eclipse is complaining saying "Syntax error on token "Invalid Character", )
expected".
NetBeans, for the same thing says "Illegal character 92".
Please help me reslove this problem.
Thank you,
Ram.