diff --git a/zxingorg/src/com/google/zxing/web/DecodeEmailListener.java b/zxingorg/src/com/google/zxing/web/DecodeEmailListener.java index 906fde6b5..5cade52b7 100644 --- a/zxingorg/src/com/google/zxing/web/DecodeEmailListener.java +++ b/zxingorg/src/com/google/zxing/web/DecodeEmailListener.java @@ -27,7 +27,7 @@ import java.util.Timer; */ public final class DecodeEmailListener implements ServletContextListener { - private static final long EMAIL_CHECK_INTERVAL = 3L * 60 * 1000; + private static final long EMAIL_CHECK_INTERVAL = 5L * 60 * 1000; private Timer emailTimer; diff --git a/zxingorg/src/com/google/zxing/web/DecodeServlet.java b/zxingorg/src/com/google/zxing/web/DecodeServlet.java index 7041175e7..ea5ccc000 100644 --- a/zxingorg/src/com/google/zxing/web/DecodeServlet.java +++ b/zxingorg/src/com/google/zxing/web/DecodeServlet.java @@ -85,7 +85,7 @@ public final class DecodeServlet extends HttpServlet { static { HINTS = new Hashtable(5); HINTS.put(DecodeHintType.TRY_HARDER, Boolean.TRUE); - Vector possibleFormats = new Vector(); + Vector possibleFormats = new Vector(); possibleFormats.add(BarcodeFormat.UPC_A); possibleFormats.add(BarcodeFormat.UPC_E); possibleFormats.add(BarcodeFormat.EAN_8); diff --git a/zxingorg/web/badimage.jspx b/zxingorg/web/badimage.jspx index 49ddec629..8acb2e969 100644 --- a/zxingorg/web/badimage.jspx +++ b/zxingorg/web/badimage.jspx @@ -18,9 +18,9 @@ - + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> + response.setHeader("Cache-Control", "public"); diff --git a/zxingorg/web/badurl.jspx b/zxingorg/web/badurl.jspx index a17116455..d7878d73e 100644 --- a/zxingorg/web/badurl.jspx +++ b/zxingorg/web/badurl.jspx @@ -18,9 +18,9 @@ - + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> + response.setHeader("Cache-Control", "public"); diff --git a/zxingorg/web/decode.jspx b/zxingorg/web/decode.jspx index df4434757..e02d39992 100644 --- a/zxingorg/web/decode.jspx +++ b/zxingorg/web/decode.jspx @@ -18,8 +18,8 @@ + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> response.setHeader("Cache-Control", "public"); @@ -28,7 +28,7 @@

ZXing Decoder Online

-

Under Construction: This is a simple page that will let you decode a 1D or 2D barcode found +

This is a simple page that will let you decode a 1D or 2D barcode found in an image online. Enter a URL below.

diff --git a/zxingorg/web/decoderesult.jspx b/zxingorg/web/decoderesult.jspx index 048d3506c..45e931c42 100644 --- a/zxingorg/web/decoderesult.jspx +++ b/zxingorg/web/decoderesult.jspx @@ -18,9 +18,9 @@ - + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> + response.setHeader("Cache-Control", "no-cache"); diff --git a/zxingorg/web/notfound.jspx b/zxingorg/web/notfound.jspx index 72729a43c..c689d3658 100644 --- a/zxingorg/web/notfound.jspx +++ b/zxingorg/web/notfound.jspx @@ -18,9 +18,9 @@ - + doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> + response.setHeader("Cache-Control", "public");