code: protected void refreshWebScripts(String url) {
          // Create the Refresh URL for the Alfresco Tomcat server
          URL alfrescoTomcatUrl = buildFinalUrl(url);
          if (alfrescoTomcatUrl == null) {
              getLog().error("Could not build refresh URL for " + refreshWebappName + ", " + getAbortedMsg());
          }
  
          // Set up the data we need to POST to the server for the refresh to work
          List<NameValuePair> postData = new ArrayList<NameValuePair>();
          postData.add(new BasicNameValuePair("reset", "on"));
          postData.add(new BasicNameValuePair("submit", "Refresh Web Scripts"));
  
          // Do the refresh
          makePostCall(alfrescoTomcatUrl, postData, "Refresh Web Scripts");
      }
docs: Perform a Refresh of Web Scripts container in webapp.
  Called by specific refresh mojo implementation.
  
  @param url the relative path to refresh webscripts