PTC Arbortext Publishing Engine Programmer's Guide (PTC Arbortext Publishing Engine 程式設計師指南) > The Arbortext Publishing Engine Sub-Process > Writing Arbortext PE 應用程式s in JavaScript > Troubleshooting JavaScript Arbortext PE 應用程式s > Reloading JavaScript Applications
  
Reloading JavaScript Applications
During the development and testing phase, you can make changes to JavaScript applications and then reload them from custom\init. You can issue an Arbortext Publishing Engine HTTP request specifying f=init to reload your JavaScript application. It’s not necessary to stop and restart the servlet container.
If there is a syntax error in your custom application, the error is returned in an HTML page in response to the first Arbortext PE 子流程 request to perform work (usually from a request containing a f=java, f=javascript, f=vbscript, or f=acl function).