<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,<BR>I've tried to publish and export a single 
resource in Opencms6 and I've met problems<BR>during the exportation of a single 
resource. <BR>How can I do to export a single resource (i.e. the file 
index.html)?<BR>In particular, I use a jsp file to publish and export the 
resource, but it not export.<BR>In the jsp file I've used the method 
org.opencms.staticexport.CmsStaticExportManager.exportTemplateResources and no 
errors are found, <BR>but the file html is not created by exportation.<BR>I've 
also changed the file opencms-importexpot.xml setting</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> ...<BR> ...<BR> <staticexport 
enabled="true"><BR>  <staticexporthandler>org.opencms.staticexport.CmsAfterPublishStaticExportHandler</staticexporthandler><BR>  <exportpath>export</exportpath><BR>  <defaultpropertyvalue>true</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=".html"/><BR>   <suffix 
key=".jsp"/>   <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>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl><BR>   <plainoptimization>true</plainoptimization><BR>   <testresource 
uri="/system/shared/page.dtd"/><BR>   <resourcestorender><BR>    <regex>/mysite/*</regex><BR>    <regex>/system/galleries/.*</regex><BR>    <regex>/system/modules/.*/resources/.*</regex><BR>   </resourcestorender><BR>  </rendersettings><BR> </staticexport><BR> ...<BR> ...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>If I change it in 
<regex>/mysite/.*</regex> it export all resources found in opencms. 
Why?<BR>How can I do?<BR>Thanks.</FONT></DIV></FONT></DIV></BODY></HTML>