Replace outer quotes with single one. Alex
2009/1/19 M S Ram <[email protected]> > 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. > -- Best Regards Alexander Aristov
