Mercurial Hosting > nabble
diff src/global/web/Ads.java @ 10:02b2fdfc07e2
ads.txt
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 29 Jul 2019 19:25:00 -0600 |
parents | |
children | 544442684af6 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/global/web/Ads.java Mon Jul 29 19:25:00 2019 -0600 @@ -0,0 +1,23 @@ +package global.web; + +import global.HtmlGlobalUtils; + +import java.io.PrintWriter; +import java.io.IOException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + + +public final class Ads extends HttpServlet { + protected void service(HttpServletRequest request,HttpServletResponse response) + throws IOException + { + response.setContentType("text/plain"); + response.setCharacterEncoding("UTF-8"); + PrintWriter out = response.getWriter(); + + out.println("google.com, pub-6750305871516672, DIRECT, f08c47fec0942fa0"); + } + +}