Mercurial Hosting > nabble
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 9:f28caccdec82 | 10:02b2fdfc07e2 |
|---|---|
| 1 package global.web; | |
| 2 | |
| 3 import global.HtmlGlobalUtils; | |
| 4 | |
| 5 import java.io.PrintWriter; | |
| 6 import java.io.IOException; | |
| 7 import javax.servlet.http.HttpServlet; | |
| 8 import javax.servlet.http.HttpServletRequest; | |
| 9 import javax.servlet.http.HttpServletResponse; | |
| 10 | |
| 11 | |
| 12 public final class Ads extends HttpServlet { | |
| 13 protected void service(HttpServletRequest request,HttpServletResponse response) | |
| 14 throws IOException | |
| 15 { | |
| 16 response.setContentType("text/plain"); | |
| 17 response.setCharacterEncoding("UTF-8"); | |
| 18 PrintWriter out = response.getWriter(); | |
| 19 | |
| 20 out.println("google.com, pub-6750305871516672, DIRECT, f08c47fec0942fa0"); | |
| 21 } | |
| 22 | |
| 23 } |
