I copied all the locene file to the JAVA class path and created a test.jsp, But I got error. Any syntax problem?
Can you help to fix this issue?
Thanks a lots.
######################################
An error occurred at line: 10 in the jsp file: /scmweb_welcome.jsp
Syntax error on token ".", = expected
7: <body leftmargin="10" BGCOLOR="#FFFFFF">
8:
9: <%
10: java org.apache.lucene.demo.IndexFiles -docs /apdb/WEB-INF/lib/src;
11:
12: java org.apache.lucene.demo.SearchFiles;
13: %>
##################
------ test.jsp ---------------------------------
<html>
<head>
<title>Welcome</title>
</head>
<body leftmargin="10" BGCOLOR="#FFFFFF">
<%
java org.apache.lucene.demo.IndexFiles -docs /apdb/WEB-INF/lib/src;
java org.apache.lucene.demo.SearchFiles;
%>
<p>Welcome to our website</p>
</strong></font>
</body>
</HTML>