1 2 3
4111 124
125126 Your banner ad here 127
128
174 Put your text ad here
175
180 Web hosting directory, find affordable web hosting 181
182185 Data recovery software tools & file recovery utilities to recover lost data 186
187190 WestNIC provides reliable web hosting services 191
192195 Mortgage Calculator 196
197200 25% off cpanel web hosting and reseller hosting deals. Promo: codestyle25off 201
202206 Java servlets are used to deliver some of the key features of the Code Style Web site. This article briefly introduces each, with hyperlinks to working examples throughout the site. 207
208
212 The FontStack servlet parses an XML data file at start-up to load the latest font survey results and uses these figures to help create a robust CSS font stack. Each font in the font stack builder is represented by a Java object with its own statistical data. The servlet dynamically generates a set of forms to select a generic font family, add multiple fonts to the stack and change the order of fonts. The servlet gives a live preview the chosen font stack and allows users to set the size of the font sample.
213
218 The FontSampler servlet that delivers the Web font sampler is an example of a lightweight Java servlet fulfilling a typical CGI function. This servlet class accepts a limited number of query parameters that are used to present standing text with CSS rules for named fonts, or to display an image of the named font.
219
224 The EchoRequest servlet lists all the HTTP headers and URL request parameters sent by Web browsers. This servlet can be used for debugging servlets and with HTML form submissions and browser issues, it reflects whatever request data is sent. 225
226
230 The AnchorPoints class is a simple redirection servlet used as a form based navigation mechanism . The ultimate destination URL is passed to the servlet as a query parameter, and uses an HTTP 302 Found response to forward requests. See the Code Style Site log archive navigation for a working example.
231
236 The ViewSource servlet returns a selected Javascript or CSS source file with the content type text/plain render as plain text. The addition of a number=true request parameter adds line numbering to the output.
238 View the source of this page for example, click Back to return. 239
240
244 ViewSequence is a servlet that shows a numbered sequence of image files with custom page titles and navigational links. All pages are generated dynamically from parameters passed in the initial request and include links to advance to the original article. See the installation steps in the Apache JServ on Windows 95 article for examples of this servlet.
245