comparison src/global/web/ContactUs.java @ 0:7ecd1a4ef557

add content
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 21 Mar 2019 19:15:52 -0600
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7ecd1a4ef557
1
2 package global.web;
3
4 import fschmidt.util.servlet.JtpContext;
5 import global.HtmlGlobalUtils;
6
7 import javax.servlet.ServletException;
8 import javax.servlet.http.HttpServlet;
9 import javax.servlet.http.HttpServletRequest;
10 import javax.servlet.http.HttpServletResponse;
11 import java.io.IOException;
12 import java.io.PrintWriter;
13 import java.util.Calendar;
14
15
16 public final class ContactUs extends HttpServlet {
17
18 protected void service(HttpServletRequest request,HttpServletResponse response)
19 throws ServletException, IOException
20 {
21 JtpContext jtpContext = (JtpContext) getServletContext().getAttribute(JtpContext.attrName);
22 jtpContext.setEtag(request,response);
23 PrintWriter out = response.getWriter();
24
25 out.print( "\n<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n " );
26 HtmlGlobalUtils.head(request, response, "Contact Us");
27 out.print( "\n <style>p{max-width:500px;margin:0 auto 3em}</style>\n </head>\n <body lato>\n " );
28 HtmlGlobalUtils.header(request,response);
29 out.print( "\n <div content center paddingTop>\n <h2 oswald>Nabble Support Forum</h2>\n <p>\n <a href=\"" );
30 out.print( (HtmlGlobalUtils.nabbleSupportUrl) );
31 out.print( "\">Visit the Support Forum</a><br/>\n For help with technical questions related to your Nabble apps, embedding, customizations, NAML language, bugs and other issues.\n </p>\n\n <h2 oswald>Report Abuse</h2>\n <p>\n Communications related to privacy, violation of our <a href=\"" );
32 out.print( (Terms.path(false)) );
33 out.print( "\">Terms of Use</a> or other abuse must be submitted by email to\n abuse<span invisible>[please remove </span><span invisible>this part]</span>&#64;nabble&#46;com.\n </p>\n\n <h2 oswald>DMCA Policy</h2>\n <p>\n Copyright owners who believe that a Nabble user has posted infringing content may provide notice in compliance with the requirements\n of the Digital Millennium Copyright Act to Weizhen Lin, 1568 Grackle Way, Sunnyvale CA 94087, email\n DMCA<span invisible>[please remove </span><span invisible>this part]</span>&#64;nabble&#46;com.\n <b>There will be no response to communications that do not involve copyright infringement.</b>\n </p>\n </div>\n " );
34 HtmlGlobalUtils.footer(request,response);
35 out.print( "\n </body>\n</html>\n" );
36
37 }
38 }
39