hello all, i'm a newbie of the opencms. I just publish 2 jsps in the sites. the source of the pages at the end of this mail.<br>i want to publish the pages as static and access it from apache but tomcat. what  need i do ?<br>
<br>i paste the opencms-importexport.xml at the end and i only paste the staticexport part.<br><br>what i want is to get six files <br>the index.jsp convert into index.html and the link in the index.jsp was convert into <a href="
data-xxxx.html"><br><br>and according the parameter in the index.jsp generate data.jsp result. how to do that?<br><br>what i want result is :<br><br>**************the index.html ************<br>Hello world <br>
<br>
ha<br>
<a href="data_1.html">1</a><br><br>
<a href="data_2.html">2</a><br><br>
<a href="data_3.html">3</a><br><br>
<a href="data_4.html">4</a><br><br>
<a href="data_5.html">5</a><br><br>******************************************<br>
************** data_1.html *************<br>
1<br>
******************************************<br>
************** data_2.html *************<br>
2<br>
******************************************<br>
************** data_3.html *************<br>
3<br>
******************************************<br>
************** data_4.html *************<br>
4<br>
******************************************<br>
************** data_5.html *************<br>
5<br>
******************************************<br>
<br>my jsp source code is:<br>************* the index.jsp *******************<br><%@ taglib prefix="cms" uri="<a href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</a>" %>
<br>Hello world <br><br>ha<br><a href="<cms:link>data.jsp?abc=1</cms:link>">1</a><br><br><a href="<cms:link>data.jsp?abc=2</cms:link>">2</a><br>
<br><a href="<cms:link>data.jsp?abc=3</cms:link>">3</a><br><br><a href="<cms:link>data.jsp?abc=4</cms:link>">4</a><br><br><a href="<cms:link>
data.jsp?abc=5</cms:link>">5</a><br><br>***************************************************<br><br>************* the data.jsp ******************<br><%=request.getParameter("abc")%>
<br>**********************************************<br><br><br>************* opencms-importexport.xml ************<br>        <staticexport enabled="true"><br><!--<br>                <staticexporthandler>
org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler><br>--><br>                <staticexporthandler>org.opencms.staticexport.CmsOnDemandHtmlSubtreeHandler</staticexporthandler>
<br>                <exportpath>export</exportpath><br>                <defaultpropertyvalue>false</defaultpropertyvalue><br>                <defaultsuffixes><br>                        <suffix key=".jpg"/>
<br>                        <suffix key=".gif"/><br>                        <suffix key=".png"/><br>                        <suffix key=".doc"/><br>                        <suffix key=".xls"/>
<br>                        <suffix key=".ppt"/><br>                        <suffix key=".pdf"/><br>                        <suffix key=".txt"/><br>                        <suffix key=".css"/>
<br>                        <suffix key=".zip"/><br>                        <suffix key=".swf"/><br>                        <suffix key=".jsp"/><br>                        <suffix key=".html"/>
<br>                </defaultsuffixes><br>                <rendersettings><br>                        <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix><br>                        <vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>
<br>                        <userelativelinks>false</userelativelinks><br>                        <exporturl><a href="http://127.0.0.1:8080${CONTEXT_NAME}/handle404">http://127.0.0.1:8080${CONTEXT_NAME}/handle404
</a></exporturl><br>                        <plainoptimization>true</plainoptimization><br>                        <testresource uri="/system/shared/page.dtd"/><br>                        <resourcestorender>
<br>                                <regex>/sites/Hello/.*</regex><br>                                <regex>/system/galleries/.*</regex><br>                                <regex>/system/modules/.*/resources/.*</regex>
<br>                        </resourcestorender><br>                </rendersettings><br>        </staticexport><br>*************************************************************************************<br>