Mercurial Hosting > nabble
annotate src/global/web/Ads.java @ 40:f770c4076954
add install doc
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Tue, 14 Jul 2020 22:06:41 +0300 |
parents | 544442684af6 |
children |
rev | line source |
---|---|
10 | 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 | |
13
544442684af6
add my publisher id to ads.txt
raven <mazdarulez@hotmail.com>
parents:
10
diff
changeset
|
20 out.println("google.com, pub-1691702211255830, DIRECT, f08c47fec0942fa0"); |
10 | 21 out.println("google.com, pub-6750305871516672, DIRECT, f08c47fec0942fa0"); |
22 } | |
23 | |
24 } |