view src/global/web/ContactUs.jtp @ 39:b5d56f522ea3

error handling
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 11 Jul 2020 21:39:52 -0600
parents 7ecd1a4ef557
children
line wrap: on
line source

<%
package global.web;

import fschmidt.util.servlet.JtpContext;
import global.HtmlGlobalUtils;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Calendar;


public final class ContactUs extends HttpServlet {

	protected void service(HttpServletRequest request,HttpServletResponse response)
		throws ServletException, IOException
	{
		JtpContext jtpContext = (JtpContext) getServletContext().getAttribute(JtpContext.attrName);
		jtpContext.setEtag(request,response);
		PrintWriter out = response.getWriter();
%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<% HtmlGlobalUtils.head(request, response, "Contact Us"); %>
		<style>p{max-width:500px;margin:0 auto 3em}</style>
	</head>
	<body lato>
		<% HtmlGlobalUtils.header(request,response); %>
		<div content center paddingTop>
			<h2 oswald>Nabble Support Forum</h2>
			<p>
				<a href="<%=HtmlGlobalUtils.nabbleSupportUrl%>">Visit the Support Forum</a><br/>
				For help with technical questions related to your Nabble apps, embedding, customizations, NAML language, bugs and other issues.
			</p>

			<h2 oswald>Report Abuse</h2>
			<p>
				Communications related to privacy, violation of our <a href="<%=Terms.path(false)%>">Terms of Use</a> or other abuse must be submitted by email to
				abuse<span invisible>[please remove </span><span invisible>this part]</span>&#64;nabble&#46;com.
			</p>

			<h2 oswald>DMCA Policy</h2>
			<p>
				Copyright owners who believe that a Nabble user has posted infringing content may provide notice in compliance with the requirements
				of the Digital Millennium Copyright Act to Weizhen Lin, 1568 Grackle Way, Sunnyvale CA 94087, email
				DMCA<span invisible>[please remove </span><span invisible>this part]</span>&#64;nabble&#46;com.
				<b>There will be no response to communications that do not involve copyright infringement.</b>
			</p>
		</div>
		<% HtmlGlobalUtils.footer(request,response); %>
	</body>
</html>
<%
	}
}
%>