The following illustration shows CSS and JS files located in an AEM client libs folder.
For more information about a ClientLibs folder, see Using Client-Side Libraries.
Note: There are other ways to get files into a ClientLibs folder. For example, you can use the CRXDE tool to drag and drop files from the local desktop to a ClientLibs folder. However, there are drawbacks to using CRXDE to drag and drop files from the desktop to an AEM client libs folder.
To develop a Java Swing application that posts files to an AEM client libs folder, you use Java APIs located in the org.apache.http package. The APIs located in this package lets you post files to a custom AEM Sling Servlet. The Sling Servlet saves the file in the specified ClientLibs folder using the JCR API.
The following illustration shows the Java client application that is created in this development article.
A Java client application that posts files to an AEM ClientLibs folder
To read this development article, click http://helpx.adobe.com/experience-manager/using/post_files.html.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.