What is the SlingPostServlet?
Solved! Go to Solution.
Views
Replies
Total Likes
A SlingPostServlet is another way in which you can modify the AEM JCR. Using a SlingPostServlet, you can store, access, update, and delete nodes and properties. For example, the following Post creates a node:
<code>
<form action="/mynode" method="POST">
<input type="text" name="title">
<textarea name="body">
</form>
</code>
This POST action creates a node named mynode. Properties title and body are set.
For more information, see the Sling Cheatsheet.
Views
Replies
Total Likes
A SlingPostServlet is another way in which you can modify the AEM JCR. Using a SlingPostServlet, you can store, access, update, and delete nodes and properties. For example, the following Post creates a node:
<code>
<form action="/mynode" method="POST">
<input type="text" name="title">
<textarea name="body">
</form>
</code>
This POST action creates a node named mynode. Properties title and body are set.
For more information, see the Sling Cheatsheet.
Views
Replies
Total Likes
See also the Sling Post Servlet documentation at http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-pos...
Views
Replies
Total Likes