Posted By:
william_boyd
Posted On:
Friday, January 25, 2002 04:21 AM
I've hacked the HTMLParser class that comes in the Lucene demo and made it parse and index JSPs. But when i do a search, the jsp tags <%pageContext.setAttribute( "req", request );%> <%@ page import="com.propelnewmedia.tags.BreadcrumbTrailer"%> and so on, are included in the summary. Please, does someone have a working JSP Parser that does not include the jsp tags in the summary? Or, please, can you tell me where I should be looking in HTMLParser.java to fix this? I've already fiddled around with the addToParser() method and the inScript flag with limited success. But I am getting uncomfortably
More>>
I've hacked the HTMLParser class that comes in the Lucene
demo and made it parse and index JSPs. But when i do a
search, the jsp tags
<%pageContext.setAttribute( "req", request );%>
<%@ page import="com.propelnewmedia.tags.BreadcrumbTrailer"%>
and so on, are included in the summary.
Please, does someone have a working JSP Parser that does
not include the jsp tags in the summary? Or, please, can you
tell me where I should be looking in HTMLParser.java to fix this?
I've already fiddled around with the
addToParser()
method and
the
inScript
flag with limited success. But I am getting uncomfortably
close to my deadline, and I need a quick fix, Yesterday!
Thanks in advance.
<<Less