Hi guys,<br><br>I am an OpenCms newbie. I am currently using OpenCms 8.0.4 and Tomcat 6.<br><br>I created a index.html and connection.jsp in /site/default/testing directory.<br>In index.html, there is an image linked to an internal page, which is connection.jsp, in the content text.<br>
<br>I modified the opencms-importexprt.xml and added <suffix key=".jsp"/> in the tag <defaultsuffixes>.<br>Also, I have added <regex>/site/default/testing/.*</regex> in <resourcestorender>.<br>
<br>I went to "Administrator" console and then clicked "Start Static Export" inside the Database Management.<br><br>Both files can be exported However, connection.jsp becomes connection.jsp.html. (e.g. connection.jsp.html ... o.k., index.html ... o.k.)<br>
<br>1. Why the jsp file type becomes a html file type? And, how to solve it? (Actually, I browsed on the Internet but still cannot solve this issue)<br>2. I have used some "tag" library and jquery in the jsp file. <br>
After the static export function, will the tag library be replaced the actual content?<br> For example, I used the following code in the connection.jsp. After the static export, the following code will be replaced by the returned results. For javascript(e.g. jquery), the codes will still stay in the jsp/html files after export. Am I right?<br>
<br> <sql:transaction dataSource="${dataSrc}"><br> <sql:query var="test">select 1 from dual</sql:query><br> </sql:transaction><br> <table border="1"><br>
<c:forEach var="columnName" items="${test.columnNames}"><br> <th><c:out value="${columnName}"/></th><br> </c:forEach><br> <c:forEach var="row" items="${test.rows}"><br>
<tr><br> <c:forEach var="column" items="${row}"><br> <td><c:out value="${column.value}"/></td><br> </c:forEach><br>
</tr><br> </c:forEach><br> </table><br> <br><br>Thanks for your kind attention.<br> <br>-- <br>Best Wishes,<br>Connie Lam<br>