commit | c05e3ad5bbe28c7a9cbf2ed4d2c34d9c814f5db9 | [log] [tgz] |
---|---|---|
author | Robert Munteanu <robert.munteanu@gmail.com> | Fri Oct 20 19:13:16 2017 +0200 |
committer | Robert Munteanu <robert.munteanu@gmail.com> | Fri Oct 20 19:31:40 2017 +0200 |
tree | a16fca8c29e544008da97610a0c8bf20c014f092 | |
parent | 89c28859a7df17a40eaaf2c26ee2433c98830204 [diff] |
SLING-7162 - Update SCM information in all POM files to reference Git
This module is part of the Apache Sling project.
This module implements a script engine for java servlets, that are compiled on the fly by Sling.
To test it:
mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
If Sling is running with the launchpad/testing setup.
package apps.foo;
import java.io.IOException; import javax.servlet.ServletException; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.SlingHttpServletResponse; import org.apache.sling.api.servlets.SlingSafeMethodsServlet;
public class foo extends SlingSafeMethodsServlet {
protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { response.setContentType("text/plain"); response.getWriter().write("Response from " + getClass().getName() + " at " + new java.util.Date()); }
}
Response from apps.foo.foo at Tue Nov 18 14:49:14 CET 2008