<div dir="ltr"><div>谢谢,<br>但是我后来就只是存在offline, 没有去管online,然后尝试:<br><br><a href="http://opencms.123.com/index.html">http://opencms.123.com/index.html</a>(offline)<br></div>works!<br><div><a href="http://opencms.123.com/index.html">http://opencms.123.com/index.html</a>(online)<br>works!<br><a href="http://www.123.com/index.html">http://www.123.com/index.html</a>(online)<br>NOT working!<br><br>顺便问下,我也试了publish API,<br>我试了OpenCms.<span class="gmail-st">getPublishManager().publishResource();<br>但显示can't resolve OpenCms. 请问一般用来publish的方法是什么呢?<br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-25 2:10 GMT+02:00 楊博凱 <span dir="ltr"><<a href="mailto:ken@thesys.com.tw" target="_blank">ken@thesys.com.tw</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">你要先儲存它至offline, 再利用api  publish它至online 版本。</p>
<div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016年10月25日 上午12:38,"Qi Zhang" <<a href="mailto:kksjtu@gmail.com" target="_blank">kksjtu@gmail.com</a>>寫道:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hi everyone,<br><br></div>I need to<b><span style="color:rgb(0,0,0)"> store</span> </b>submited web form <b>data</b> information<b> into</b> a text<b> file</b> (doesn't matter where, as long as reachable). Unfortunatelly I just got to know it is not allowed to have write access in online project.<span style="color:rgb(0,0,0)"> <span style="background-color:rgb(255,255,255)"><b>Anyone has idea of how to archive this?</b></span></span><br><br></div>I've tried to switch context to offline context. But it only works when I test it in the workspace. In the published real webpage it won't work with error HTTP 500..<br><br></div>Thanks a lot in advance!<br clear="all"><div><div><div><div><div><div><div><div><div><br>-- <br><div class="m_2139379518059521129m_7010192535923813676m_4426679182581046515gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Best regards,<br></div><div dir="ltr">Qi Zhang<br></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-b<wbr>in/mailman/listinfo/opencms-de<wbr>v</a><br>
<br>
<br>
<br>
<br></blockquote></div></div>
<br>______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Best regards,<br></div><div dir="ltr">Qi Zhang<br></div></div></div></div></div></div></div></div>
</div>