Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Generating Graphics with WebObjects

In this section we're going to revisit the Hello application. This time however, we're going to vend the greeting response as a SVG graphic.

Vending SVG Content

Start by duplicating the HelloDirect application to SVGHelloDirect or something similar. You'll find more on this in Chapter 4, “Building Bookmarkable Applications.”

Edit the Greeting HTML template in WebObjects Builder source mode. Copy the following SVG into it from the file named Stripes.svg located in the file download of the Web site companion to the book (www.samspublishing.com).

 <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd"> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book