

+++ -85,10 +85,6 = new GradleCoordinate("a.b.c", "package", revisionList, ).toString() assertEquals(expected, actual) - expected = ":android-maps-utils:0.3" - actual = GradleCoordinate.parseCoordinateString(expected).toString() - assertEquals(expected, actual) } public void testIsSameArtifact() throws Exception ĭiff -git a/templates/other/RsFolder/template.xml b/templates/other/RsFolder/template. a/sdk-common/src/test/java/com/android/ide/common/repository/GradleCoordinateTest.java This reverts commit 50f87c2c57183390d8fad6513600a13673f6f4fc.Ĭhange-Id: I91d14ed2649467078efe70ab51927795e67fa843 diff -git a/sdk-common/src/test/java/com/android/ide/common/repository/GradleCoordinateTest.java b/sdk-common/src/test/java/com/android/ide/common/repository/GradleCoordinateTest.java Right click in this view and select New > Server and add your server details.50f87c2c57183390d8fad6513600a13673f6f4fc All you need to do: Open Server view from Windows > Show View > Server. I assume you have already configured Tomcat in eclipse. You may want to run the application see the result. Just compare your project structure with project structure image above. You can download the full source code at the end of this tutorial. Public class HelloServlet extends HttpServlet Code language: HTML, XML ( xml )įor sake of simplicity, I have removed CSS styles from the above FTL file. Once we have setup web.xml, we add Java source code.

To avoid any unwanted access to these files we defined security-constraint in web.xml. You may also change the initial site key in sites.yaml to a string that identifies your site. There is no significance to the directory name main/, you may change it to anything you wish. This serves as an entry point to our app. a directory named main/, which is the theme for your one site. For our servlet app, we defined a new servlet which we mapped to url /hello. These parameters are more or less self explanatory.

In addition to this, we also provided few parameters to FreemarkerServlet. ftl will get processed by FreemarkerServlet servlet. Note how we mapped this servlet with url-pattern *.ftl. To start with first we make an entry for servlet in web.xml. FreeMarker_Hello_World index.html freemarker TemplatePath / NoCache true ContentType text/html charset=UTF-8 template_update_delay 0 default_encoding ISO-8859-1 number_format 0.# 1 freemarker *.ftl hello_servlet hello_servlet /hello FreeMarker MVC Views *.ftl Code language: HTML, XML ( xml )
