%@ page contentType="text/html" %>
This page demostrates the usage of the BarcodeServlet.
<% final String genbc = bcrequest.toURL(); if (bcrequest.isSVG()) { %>The generated barcode in SVG format (only displayed if SVG is supported in your browser):
<% if (bcrequest.isSvgEmbed()) { %><% } else { %>
<% } } else if (bcrequest.isBitmap()) { %>
The generated barcode in <%=bcrequest.getFormat()%> format (only displayed if <%=bcrequest.getFormat()%> is supported on the server and in your browser):
The generated barcode cannot be previewed. Format is <%=bcrequest.getFormat()%>.
<% } %>The following is the URL that was used to create the above barcode:
Change the parameters:
For the documention on Barcode4J, please visit http://barcode4j.sourceforge.net.