Generating Images and PDFs with JSP, Servlets and XML. Chád (shod) Darby. aquariussolutions.com. Chád (shod) Darby

Size: px
Start display at page:

Download "Generating Images and PDFs with JSP, Servlets and XML. Chád (shod) Darby. aquariussolutions.com. Chád (shod) Darby"

Transcription

1 1 Generating Images and PDFs with JSP, Servlets and XML Chád (shod) Darby aquariussolutions.com Chád (shod) Darby Education Carnegie Mellon University, B.S. Computer Science 1992 Publications Professional Java E-Commerce Wrox Press, Mar 2001 Beginning Java Networking Wrox Press, Sep 2001 Talks San Jose, CA Mumbai, India Sydney, Australia

2 2 Session Objectives In this session, we will Exploit JSP Custom Tags for generating charts Generate PDF documents using Jakarta XSL-FOP. Road Map JSP Custom Tags for Charts XSL-FO, Apache-FOP and PDFs

3 3 Server-side APIs for Images and Charts Free, Open Source Product JFreeChart Bar Charts Company JRefinery.com Cold Java Site coldjava.hypermart.net Commercial Product Davisor Chart JClass Server Chart Style Report Company Davisor Sitraka InetSoft Tech Site Generating Charts with JSP Custom Tags Davisor Chart is a third-party JSP Tag Library for generating: Pie charts Line charts Bar charts 2D and 3D versions Charts accept data from SQL queries or XML data sources JDBC XML Evaluation version of Davisor Chart at

4 4 Generating Charts: Desired Output Generating Column Charts: Source File: column.jsp taglib uri="davisorchart" prefix="chart" %> <chart:data id="salesdata"> <chart:xml> <data> <column id="value-channel" type="value" values=" " /> <column type="paint" values="red green blue yellow" /> <column type="label"> <element>houston, TX</element> <element>new York, NY</element> <element>san Jose, CA</element> <element>washington, DC</element> </column> </data> </chart:xml> </chart:data> <html><body> <chart:image charttype="column" dataid="salesdata" chartwidth="300" chartheight="200"/> </body></html> Chart data can be supplied in-line or from URL This tag generates the image based on data source

5 5 Generating Column Charts: External Data Can also store data in separate XML file File: data/salesdata.xml <chart:xml> <data> <column id="value-channel" type="value" values=" " /> <column type="paint" values="red green blue yellow" /> <column type="label"> <element>houston, TX</element> <element>new York, NY</element> <element>san Jose, CA</element> <element>washington, DC</element> </column> </data> </chart:xml> Generating Column Charts: External Data Reference external data using a URL File: column_ext.jsp <chart:data id="salesdata"> <chart:xml url="data/salesdata.xml"/> </chart:data> column_ext.jsp salesdata.xml

6 6 Generating Column Charts: External Data A servlet or JSP can generate the XML data File: column_ext.jsp <chart:data id="salesdata"> <chart:xml url="data/salesdata.jsp"/> </chart:data> XML Data Server column_ext.jsp salesdata.jsp <XSL> Generating Pie Charts: Desired Output

7 7 Generating Pie Charts: Source File: pie.jsp taglib uri="davisorchart" prefix="chart" %> <chart:data id="salesdata"> <chart:xml url="data/salesdata.jsp" /> </chart:data> <html><body> <p> <chart:image charttype="pie" dataid="salesdata" labelformat="${value-channel}k" chartwidth="400" chartheight="300"/> <chart:image charttype="legend" dataid="salesdata" chartwidth="200" chartheight="150"/> </p> </body></html> Road Map JSP Custom Tags for Charts XSL-FO, Apache-FOP and PDFs

8 8 Java PDF Solutions Free, Open Source Product Company Apache-FOP Apache Group itext lowagie.com Site xml.apache.org Commercial Product JClass Server Chart Style Report XEP Company Sitraka InetSoft Tech RenderX Site XSL XSL, two languages XSL Transformation (XSL-T) XSL Formatting Objects (XSL-FO) XSL-T Currently very popular In B2B apps for XML to XML conversion In web apps for XML to HTML conversion

9 9 XSL Formatting Objects Role of XSL-FO Designed to assist with printing and displaying of XML data Main emphasis is on the document layout and structure A sophisticated version of Cascading Style Sheets (CSS) XSL-FO documents Well-formed XML documents Processed by an XSL-FO formatting engine Creating the XSL-FO Document XSL-FO documents have the following structure <?xml version="1.0"?> <fo:root xmlns:fo=" <!-- layout master set --> <!-- page masters: size and layout --> <!-- page sequences and content --> </fo:root>

10 10 Development Process Page Master Region Page Master Set Page Sequences Flows and Blocks Headers and Footers Tables Page Master - <fo:page-master> Page master describes the page layout and size... <fo:simple-page-master master-name="simple" page-height="11in" page-width="8.5in" margin-top="1in" margin-bottom="1in" margin-left="1.25in" margin-right="1.25in"> </fo:simple-page-master>...

11 11 Page Regions Each page is divided into five regions Page Regions The page regions are defined in the page master... <fo:simple-page-master master-name="simple" page-height="11in" page-width="8.5in"> <fo:region-body margin-top="0.5in"/> <fo:region-before extent="0.5in"/> <fo:region-after extent="0.5in"/> </fo:simple-page-master>...

12 12 Page Master Set: <fo:page-master-set> <?xml version="1.0"?> <fo:root xmlns:fo=" <!-- layout master set --> <fo:layout-master-set> <!-- page masters: size and layout --> <fo:simple-page-master master-name="simple" page-height="11in" page-width="8.5in" margin-top="1in" margin-bottom="1in" margin-left="1.25in" margin-right="1.25in"> <fo:region-body margin-top="0.5in"/> <fo:region-before extent="0.5in"/> <fo:region-after extent="0.5in"/> </fo:simple-page-master> </fo:layout-master-set> <!-- page sequences and content --> </fo:root> Page Sequences A page sequence defines a series of printed pages Each sequence refers to a page master <fo:page-sequence> element contains <fo:static-content> for page headers and footers <fo:flow> contains a collection of text blocks

13 13 Flows and Blocks <!-- page sequences and content --> <fo:page-sequence master-name="simple"> <fo:flow flow-name="xsl-region-body"> <!-- this defines a level 1 heading with orange background --> <fo:block font-size="18pt" font-family="sans-serif" line-height="24pt" space-after.optimum="15pt" background-color="orange" color="white" text-align="center" padding-top="3pt"> Ez Books Online </fo:block> <!-- Paragraph that contains info about the company --> <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="14pt" text-align="justify"> Welcome to Ez Books Online, the world's smallest online book store.... </fo:block> </fo:flow> </fo:page-sequence> Generating Output > fop simple.fo simple.pdf

14 14 Page Headers and Footers <fo:static-content> defines the content that should appear on every page <!-- header --> <fo:static-content flow-name="xsl-region-before"> <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt" > Ez Books Catalog - page <fo:page-number/> </fo:block> </fo:static-content> <!-- footer --> <fo:static-content flow-name="xsl-region-after"> <fo:block text-align="center" font-size="10pt" font-family="serif" line-height="14pt" > Visit our website </fo:block> </fo:static-content> Page Headers and Footers: Output

15 15 Tables XSL-FO Tables HTML Element TABLE not applicable CAPTION COL COLGROUP TH TBODY TFOOT TD TR XSL-FO Element fo:table-and-caption fo:table fo:table-caption fo:table-column not applicable fo:table-header fo:table-body fo:table-footer fo:table-cell fo:table-row

16 16 Table Headers <fo:table> <!-- define column widths --> <fo:table-column column-width="120pt"/> <fo:table-column column-width="200pt"/> <fo:table-column column-width="80pt"/> <fo:table-header> <fo:table-row> <fo:table-cell> <fo:block font-weight="bold">author</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">title</fo:block> </fo:table-cell> <fo:table-cell> <fo:block font-weight="bold">price (USD)</fo:block> </fo:table-cell> </fo:table-row> </fo:table-header> <!-- insert table body and rows here --> </fo:table> Table Body <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block>michael Daconta</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>xml Development with Java 2</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>37.99</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> </fo:table-row> </fo:table-body>

17 17 Integrating XSL-T and XSL-FO Instead of a static XSL-FO document. We can generate XSL-FO document with XSL-T Servlet Integration

18 18 Servlet Source Code... import org.xml.sax.xmlreader; import org.apache.fop.apps.driver; import org.apache.fop.apps.xsltinputhandler; public class EzFopServlet extends HttpServlet { public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException { try { // get the application root for this web app String approot = getservletcontext().getrealpath("/"); String xmlfilename = "booklist.xml"; String xslfilename = "booklist_table.xsl"; File xmlfile = new File(appRoot + xmlfilename); File xslfile = new File(appRoot + xslfilename); // setup the driver for PDF Driver driver = new Driver(); driver.setrenderer(driver.render_pdf);... // create an input handler for the XSLT transformation XSLTInputHandler inputhandler = new XSLTInputHandler(xmlFile, xslfile); XMLReader parser = inputhandler.getparser(); Servlet Source Code // setup the output for XSL-FO formatter process // temporarily place in a ByteArrayOutputStream ByteArrayOutputStream out = new ByteArrayOutputStream(); driver.setoutputstream(out); } } // Run the formatter based on the XSL-FO document driver.render(parser, inputhandler.getinputsource()); // The out object has the result of the XSL-FO formatter process // Retrieve the content from ByteArray byte[] content = out.tobytearray(); // Setup the response for the web browser response.setcontenttype("application/pdf"); response.setcontentlength(content.length); // Finally, send the result to the browser! OutputStream outputtobrowser = response.getoutputstream(); outputtobrowser.write(content); outputtobrowser.flush(); } catch (Exception exc) { log(exc.tostring()); throw new ServletException(exc); }

19 19 Output <tomcat_install>\webapps\ezfop\booklist.xml Summary In this session, we Exploited JSP Custom Tags for generating charts Generated PDF documents using Jakarta XSL-FOP.

20 20 Generating Images and PDFs with JSP, Servlets and XML Chád (shod) Darby aquariussolutions.com

What is it? Example of XSL Syntax. Basis of formatting. Transformation & Formatting. Formatting. Areas and Area Tree. 6.1 Overview of XSL Formatting

What is it? Example of XSL Syntax. Basis of formatting. Transformation & Formatting. Formatting. Areas and Area Tree. 6.1 Overview of XSL Formatting 6 XSL: Extensible Stylesheet Language What is it? An advanced style language for XML documents: 1. Language for transforming XML documents: XSLT 2. XML vocabulary for specifying formatting: XSL 1.0, W3C

More information

XSL:FO Reference Guide OmniUpdate Training Conference 2018

XSL:FO Reference Guide OmniUpdate Training Conference 2018 XSL:FO Reference Guide OmniUpdate Training Conference 2018 omniupdate.com Formatting Object Elements fo:root The fo:root is the top node of the formatting object tree and wraps the entire Formatting Object

More information

Page-sequence Sample for Book

Page-sequence Sample for Book Nov 2004 Antenna House, Inc. Table of Contents Preface... 1 1. Page Layout... 3 2. Cover Page... 5 3. Table of Contents... 7 4. Body Pages... 9 Preface In this Sample, following page layouts are used,

More information

Advanced Layout Design

Advanced Layout Design Advanced Layout Design Ron Donaldson Technical Account Manager rdonaldson@smartcommunications.com Agenda Layout Basics CJP Driven Logic Responsive emails What is a Layout? Layouts are responsible for managing

More information

Presentation of XML Documents

Presentation of XML Documents Presentation of XML Documents Patryk Czarnik Institute of Informatics University of Warsaw XML and Modern Techniques of Content Management 2012/13 Stylesheets Separating content and formatting Separation

More information

Structure Bars. Tag Bar

Structure Bars. Tag Bar C H E A T S H E E T / / F L A R E 2 0 1 8 Structure Bars The XML Editor provides structure bars above and to the left of the content area in order to provide a visual display of the topic tags and structure.

More information

An Introductive Presentation of XSL-FO. Jean-Michel HUFFLEN LIFC University of Franche-Comté GUIT meeting, 15th October 2011

An Introductive Presentation of XSL-FO. Jean-Michel HUFFLEN LIFC University of Franche-Comté GUIT meeting, 15th October 2011 An Introductive Presentation of XSL-FO Jean-Michel HUFFLEN LIFC University of Franche-Comté GUIT meeting, 15th October 2011 1 Contents Using xsl-fo Basic elements Multilingual capabilities Page model Orientation

More information

Servlets. How to use Apache FOP in a Servlet $Revision: $ Table of contents

Servlets. How to use Apache FOP in a Servlet $Revision: $ Table of contents How to use Apache FOP in a Servlet $Revision: 493717 $ Table of contents 1 Overview...2 2 Example Servlets in the FOP distribution...2 3 Create your own Servlet...2 3.1 A minimal Servlet...2 3.2 Adding

More information

This page discusses topic all around using FOP in a servlet environment. 2. Example Servlets in the FOP distribution

This page discusses topic all around using FOP in a servlet environment. 2. Example Servlets in the FOP distribution How to use FOP in a Servlet 1. Overview This page discusses topic all around using FOP in a servlet environment. 2. Example Servlets in the FOP distribution In the directory {fop-dir/examples/servlet,

More information

RenderX VDPMill User Guide

RenderX VDPMill User Guide VDPMill RenderX VDPMill Copyright 2010 RenderX, Inc. All rights reserved. This documentation contains proprietary information belonging to RenderX, and is provided under a license agreement containing

More information

RenderX VDPMill User Guide

RenderX VDPMill User Guide VDPMill RenderX VDPMill Copyright 2010 RenderX, Inc. All rights reserved. This documentation contains proprietary information belonging to RenderX, and is provided under a license agreement containing

More information

Servlets. How to use Apache FOP in a Servlet $Revision: $ Table of contents

Servlets. How to use Apache FOP in a Servlet $Revision: $ Table of contents How to use Apache FOP in a Servlet $Revision: 505235 $ Table of contents 1 Overview...2 2 Example Servlets in the FOP distribution...2 3 Create your own Servlet...2 3.1 A minimal Servlet...2 3.2 Adding

More information

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved. 1 Copyright 2013, Oracle and/or its affiliates. All rights Creating Custom PDF reports with APEX 4.2.2 Marc Sewtz Senior Software Development Manager Oracle USA Inc. New York, NY 2 Copyright 2013, Oracle

More information

AIM. 10 September

AIM. 10 September AIM These two courses are aimed at introducing you to the World of Web Programming. These courses does NOT make you Master all the skills of a Web Programmer. You must learn and work MORE in this area

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!   We offer free update service for one year PASS4TEST IT Certification Guaranteed, The Easy Way! \ http://www.pass4test.com We offer free update service for one year Exam : 000-141 Title : XML and related technologies Vendors : IBM Version : DEMO

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

ORMB Reporting SDK Guide

ORMB Reporting SDK Guide Oracle Revenue Management and Billing Version 2.6.0.1.0 ORMB Revision 1.0 E94082-01 September, 2018 E94082-01 Copyright Notice Copyright 2018, Oracle and/or its affiliates. All rights reserved. Trademark

More information

FOP FAQ. Table of contents

FOP FAQ. Table of contents Table of contents 1 Questions...2 1.1 1. General questions... 2 1.2 2. Problems running FOP... 4 1.3 3. Problems with FOP output... 7 1.4 4. Embedding FOP. Using FOP in a servlet...10 1.5 5. SVG specific

More information

XF Rendering Server 2007 Java Tutorial and QuickStarts Copyright ECRION Software. All Rights Reserved.

XF Rendering Server 2007 Java Tutorial and QuickStarts Copyright ECRION Software. All Rights Reserved. XF Rendering Server 2007 Java Tutorial and QuickStarts Copyright 2002-2006 ECRION Software. All Rights Reserved. This document is designed to quickly acquaint Java programmers with the programming model

More information

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD) Skill Area 323: Design and Develop Website Multimedia and Web Design (MWD) 323.3 Create a Web page using tables and frames (7 hrs) 323.3.1 Insert and modify tables on a Web page 323.3.2 Merge and split

More information

INFS 2150 / 7150 Intro to Web Development / HTML Programming

INFS 2150 / 7150 Intro to Web Development / HTML Programming XP Objectives INFS 2150 / 7150 Intro to Web Development / HTML Programming Designing a Web Page with Tables Create a text table Create a table using the , , and tags Create table headers

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

IBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free

IBM. XML and Related Technologies Dumps Braindumps Real Questions Practice Test dumps free 000-141 Dumps 000-141 Braindumps 000-141 Real Questions 000-141 Practice Test 000-141 dumps free IBM 000-141 XML and Related Technologies http://killexams.com/pass4sure/exam-detail/000-141 collections

More information

Lesson 5 Introduction to Cascading Style Sheets

Lesson 5 Introduction to Cascading Style Sheets Introduction to Cascading Style Sheets HTML and JavaScript BASICS, 4 th Edition 1 Objectives Create a Cascading Style Sheet. Control hyperlink behavior with CSS. Create style classes. Share style classes

More information

DOWNLOAD OR READ : XML AND XSL TWO 1 HOUR CRASH COURSES QUICK GLANCE PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : XML AND XSL TWO 1 HOUR CRASH COURSES QUICK GLANCE PDF EBOOK EPUB MOBI DOWNLOAD OR READ : XML AND XSL TWO 1 HOUR CRASH COURSES QUICK GLANCE PDF EBOOK EPUB MOBI Page 1 Page 2 xml and xsl two 1 hour crash courses quick glance xml and xsl two pdf xml and xsl two 1 hour crash

More information

Extensible Stylesheet Language (XSL)

Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL) Version 1.0 W3C Recommendation 15 October 2001 This version: Latest version: http://www.w3.org/tr/2001/rec-xsl-20011015/ (PDF by RenderX, XML file, HTML (one large

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 6. Tables and Columns Objectives Explore the structure of a web table Create table heading and data cells Apply CSS styles to a table Create cells that span multiple

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 6. Tables and Columns Objectives Explore the structure of a web table Create table heading and data cells Apply CSS styles to a table Create cells that span multiple

More information

Basic CSS Lecture 17

Basic CSS Lecture 17 Basic CSS Lecture 17 Robb T. Koether Hampden-Sydney College Wed, Feb 21, 2018 Robb T. Koether (Hampden-Sydney College) Basic CSSLecture 17 Wed, Feb 21, 2018 1 / 22 1 CSS 2 Background Styles 3 Text Styles

More information

c122sep2214.notebook September 22, 2014

c122sep2214.notebook September 22, 2014 This is using the border attribute next we will look at doing the same thing with CSS. 1 Validating the page we just saw. 2 This is a warning that recommends I use CSS. 3 This caused a warning. 4 Now I

More information

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1 Web Design and Development ACS-1809 Chapter 12 Using Tables 11/23/2017 1 Using Tables Understand the concept and uses of tables in web pages Create a basic table structure Format tables within web pages

More information

CSS. Introduction to. Meganadha Reddy K. Technical Trainer NetCom Learning

CSS. Introduction to. Meganadha Reddy K. Technical Trainer NetCom Learning Introduction to CSS Meganadha Reddy K. Technical Trainer NetCom Learning www.netcomlearning.com Advantages of Style Sheets Saves time Easy to change Keep consistency Give you more control over layout Make

More information

Servlets by Example. Joe Howse 7 June 2011

Servlets by Example. Joe Howse 7 June 2011 Servlets by Example Joe Howse 7 June 2011 What is a servlet? A servlet is a Java application that receives HTTP requests as input and generates HTTP responses as output. As the name implies, it runs on

More information

Introducing Web Tables

Introducing Web Tables TABLE AND FRAMESET Introducing Web Tables A table can be displayed on a Web page either in a text or graphical format. A text table: Contains only text, evenly spaced on the Web page in rows and columns

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 INFORMATION TECHNOLOGY TUTORIAL QUESTION BANK Course Name Course Code Class Branch : Web Technologies : ACS006 : B. Tech

More information

Page Layout Using Tables

Page Layout Using Tables This section describes various options for page layout using tables. Page Layout Using Tables Introduction HTML was originally designed to layout basic office documents such as memos and business reports,

More information

IT6503 WEB PROGRAMMING. Unit-I

IT6503 WEB PROGRAMMING. Unit-I Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Unit-I SCRIPTING 1. What is HTML? Write the format of HTML program. 2. Differentiate HTML and XHTML. 3.

More information

Lab Introduction to Cascading Style Sheets

Lab Introduction to Cascading Style Sheets Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,

More information

Extensible Stylesheet Language (XSL)

Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL) Version 1.0 18 October 2000 This version: Latest version: http://www.w3.org/tr/2000/wd-xsl-20001018/ (PDF by RenderX, XML file, HTML (one large file), ZIP file) http://www.w3.org/tr/xsl/

More information

Introduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003

Introduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003 Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations

More information

USER GUIDE MADCAP FLARE Tables

USER GUIDE MADCAP FLARE Tables USER GUIDE MADCAP FLARE 2018 Tables Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is furnished

More information

Customizing a Packaged Application for a J2EE Environment: A Case Study. Leslie Tierstein TopTier Consulting, Inc.

Customizing a Packaged Application for a J2EE Environment: A Case Study. Leslie Tierstein TopTier Consulting, Inc. Customizing a Packaged Application for a J2EE Environment: A Case Study Leslie Tierstein TopTier Consulting, Inc. 1 Overview (1) Learning experiences in a J2EE Environment The environment Deployment of

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

Introduction. This course Software Architecture with Java will discuss the following topics:

Introduction. This course Software Architecture with Java will discuss the following topics: Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations

More information

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Session 4. Style Sheets (CSS) Reading & References.   A reference containing tables of CSS properties Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html

More information

Static Webpage Development

Static Webpage Development Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction

More information

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD. Subject Name: WEB DEVELOPMENT CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD. Subject Name: WEB DEVELOPMENT CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS LIBRARY USE LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD 2015 Student ID: Seat Number: Subject Code: CSE2WD Paper No: 1 Subject Name: WEB DEVELOPMENT Paper Name: Final examination Reading Time:

More information

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton Tables & Lists Organized Data R. Scott Granneman Jans Carton 1.3 2014 R. Scott Granneman Last updated 2015-11-04 You are free to use this work, with certain restrictions. For full licensing information,

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

Session 8. Introduction to Servlets. Semester Project

Session 8. Introduction to Servlets. Semester Project Session 8 Introduction to Servlets 1 Semester Project Reverse engineer a version of the Oracle site You will be validating form fields with Ajax calls to a server You will use multiple formats for the

More information

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION Tutorial 5 Working with Tables and Columns HTML and CSS 6 TH EDITION Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple rows and columns

More information

TASC Consulting Technical Writing Courseware Training

TASC Consulting Technical Writing Courseware Training Understanding XML Aruna Panangipally TASC Consulting Technical Writing Courseware Training Session Outline Why should a technical writer know XML? The Beginning Understanding markup languages Origins of

More information

HTMLnotesS15.notebook. January 25, 2015

HTMLnotesS15.notebook. January 25, 2015 The link to another page is done with the

More information

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D Chapter 9 Table Basics Key Concepts Copyright 2013 Terry Ann Morris, Ed.D 1 Learning Outcomes Describe the recommended use of a table on a web page Configure a basic table with the table, table row, table

More information

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand

More information

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Indian Institute of Technology Kharagpur HTML Part III Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Kharagpur, INDIA Lecture 15: HTML Part III On completion, the student will be able

More information

OVERVIEW. How tables are structured. Table headers. Cell spanning (rows and columns) Table captions. Row and column groups

OVERVIEW. How tables are structured. Table headers. Cell spanning (rows and columns) Table captions. Row and column groups 8 TABLE MARKUP OVERVIEW How tables are structured Table headers Cell spanning (rows and columns) Table captions Row and column groups Tabular Data HTML table markup is for data arranged into rows and columns.

More information

Inf 202 Introduction to Data and Databases (Spring 2010)

Inf 202 Introduction to Data and Databases (Spring 2010) Inf 202 Introduction to Data and Databases (Spring 2010) Jagdish S. Gangolly Informatics CCI SUNY Albany April 22, 2010 Database Processing Applications Standard Database Processing Client/Server Environment

More information

Alpha College of Engineering and Technology. Question Bank

Alpha College of Engineering and Technology. Question Bank Alpha College of Engineering and Technology Department of Information Technology and Computer Engineering Chapter 1 WEB Technology (2160708) Question Bank 1. Give the full name of the following acronyms.

More information

Poet Image Description Tool: Step-by-step Guide

Poet Image Description Tool: Step-by-step Guide Poet Image Description Tool: Step-by-step Guide Introduction This guide is designed to help you use the Poet image description tool to add image descriptions to DAISY books. The tool assumes you have access

More information

<title> An XML based web service for an electronic logbook </title>

<title> An XML based web service for an electronic logbook </title> An XML based web service for an electronic logbook raimund Kammering desy MVP 2002-10-16 pcapac 2002 Frascati

More information

INTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature

INTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature INTRODUCTION TO SERVLETS AND WEB CONTAINERS Actions in Accord with All the Laws of Nature Web server vs web container Most commercial web applications use Apache proven architecture and free license. Tomcat

More information

Dreamweaver CS3 Concepts and Techniques

Dreamweaver CS3 Concepts and Techniques Dreamweaver CS3 Concepts and Techniques Chapter 3 Tables and Page Layout Part 1 Other pages will be inserted in the website Hierarchical structure shown in page DW206 Chapter 3: Tables and Page Layout

More information

Generating the Server Response: HTTP Response Headers

Generating the Server Response: HTTP Response Headers Generating the Server Response: HTTP Response Headers 1 Agenda Format of the HTTP response Setting response headers Understanding what response headers are good for Building Excel spread sheets Generating

More information

The Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4

The Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4 CMPUT 391 Database Management Systems The Basic Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta CMPUT 391 Database Management Systems

More information

COMP519: Web Programming Lecture 4: HTML (Part 3)

COMP519: Web Programming Lecture 4: HTML (Part 3) COMP519: Web Programming Lecture 4: HTML (Part 3) Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of Liverpool Contents 1 HTML

More information

Planning and Designing Your Site p. 109 Design Concepts p. 116 Summary p. 118 Defining Your Site p. 119 The Files Panel p. 119 Accessing Your Remote

Planning and Designing Your Site p. 109 Design Concepts p. 116 Summary p. 118 Defining Your Site p. 119 The Files Panel p. 119 Accessing Your Remote Acknowledgments p. xxv Introduction p. xxvii Getting Started with Dreamweaver MX 2004 Is It 2004 Already? p. 3 The Internet p. 4 TCP/IP p. 7 Hypertext Transfer Protocol p. 8 Hypertext Markup Language p.

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

TUTORIAL QUESTION BANK

TUTORIAL QUESTION BANK + INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Course Name Course Code Class Branch : Web Technologies : ACS006

More information

HTML Markup for Accessibility You Never Knew About

HTML Markup for Accessibility You Never Knew About HTML Markup for Accessibility You Never Knew About David Epler dcepler@dcepler.net June 27, 2004 HTML Revisions HTML 2.0 November 1995 Base version everyone learned HTML 3.2 January 1997 Tried to reconcile

More information

Session 9. Introduction to Servlets. Lecture Objectives

Session 9. Introduction to Servlets. Lecture Objectives Session 9 Introduction to Servlets Lecture Objectives Understand the foundations for client/server Web interactions Understand the servlet life cycle 2 10/11/2018 1 Reading & Reference Reading Use the

More information

0417 INFORMATION AND COMMUNICATION TECHNOLOGY

0417 INFORMATION AND COMMUNICATION TECHNOLOGY CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education MARK SCHEME for the May/June 2014 series 0417 INFORMATION AND COMMUNICATION TECHNOLOGY 0417/31 Paper 3 (Practical

More information

Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 21 st May Time:

Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 21 st May Time: COMP67032 Three hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Building Web Applications Date: Friday 21 st May 2010 Time: 14.00 17.00 Answer Question 1 from Section A and TWO questions out

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Web Architecture and Information Management [./] Spring 2009 INFO 190-02 (CCN 42509) Erik Wilde, UC Berkeley School of Information [http://creativecommons.org/licenses/by/3.0/]

More information

xml html css structure and form

xml html css structure and form CSS (cascading style sheets) is another language for describing the style used to present a document. xml html css structure and form xml for communicating structured data general language for labelled

More information

0417 INFORMATION AND COMMUNICATION TECHNOLOGY

0417 INFORMATION AND COMMUNICATION TECHNOLOGY CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education MARK SCHEME for the May/June 2014 series 0417 INFORMATION AND COMMUNICATION TECHNOLOGY 0417/32 Paper 3 (Practical

More information

Web based Applications, Tomcat and Servlets - Lab 3 -

Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta The Basic Web Server CMPUT 391 Database Management

More information

Designing for Web Using Markup Language and Style Sheets

Designing for Web Using Markup Language and Style Sheets Module Presenter s Manual Designing for Web Using Markup Language and Style Sheets Effective from: July 2014 Ver. 1.0 Amendment Record Version No. Effective Date Change Replaced Pages 1.0 July 2014 New

More information

How to Develop Stylesheets for XML to XSL-FO Transformation

How to Develop Stylesheets for XML to XSL-FO Transformation How to Develop Stylesheets for XML to XSL-FO Transformation June, 2001 Minor revised version May, 2002 Antenna House, Inc. Copyright 2001-2002 Antenna House, Inc. Table of Contents Preface...1 Step for

More information

ICOM 5016 Database Systems. Database Users. User Interfaces and Tools. Chapter 8: Application Design and Development.

ICOM 5016 Database Systems. Database Users. User Interfaces and Tools. Chapter 8: Application Design and Development. Chapter 8: Application Design and Development ICOM 5016 Database Systems Web Application Amir H. Chinaei Department of Electrical and Computer Engineering University of Puerto Rico, Mayagüez User Interfaces

More information

Introduction to JSP and Servlets Training 5-days

Introduction to JSP and Servlets Training 5-days QWERTYUIOP{ Introduction to JSP and Servlets Training 5-days Introduction to JSP and Servlets training course develops skills in JavaServer Pages, or JSP, which is the standard means of authoring dynamic

More information

Java Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1

Java Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Enterprise Edition Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Beans Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 2 Java Bean POJO class : private Attributes public

More information

Final Exam Study Guide

Final Exam Study Guide Final Exam Study Guide 1. What does HTML stand for? 2. Which file extension is used with standard web pages? a..doc b..xhtml c..txt d..html 3. Which is not part of an XHTML element? a. Anchor b. Start

More information

Cascading style sheets, HTML, DOM and Javascript

Cascading style sheets, HTML, DOM and Javascript CSS Dynamic HTML Cascading style sheets, HTML, DOM and Javascript DHTML Collection of technologies forming dynamic clients HTML (content content) DOM (data structure) JavaScript (behaviour) Cascading Style

More information

Oxygen PDF Chemistry XML + CSS = PDF

Oxygen PDF Chemistry XML + CSS = PDF Oxygen PDF Chemistry XML + CSS = PDF Presenter: Radu Coravu radu_coravu@oxygenxml.com @radu_coravu CSS-based PDF publishing Advantages: Lots more people are comfortable with CSS Use CSS both for XHTML

More information

1.264 Lecture 12. HTML Introduction to FrontPage

1.264 Lecture 12. HTML Introduction to FrontPage 1.264 Lecture 12 HTML Introduction to FrontPage HTML Subset of Structured Generalized Markup Language (SGML), a document description language SGML is ISO standard Current version of HTML is version 4.01

More information

Types of Databases. Types of Databases. Types of Databases. Databases and Web. Databases and Web. Relational databases may also have indexes

Types of Databases. Types of Databases. Types of Databases. Databases and Web. Databases and Web. Relational databases may also have indexes Types of Databases Relational databases contain stuctured data tables, columns, fixed datatype for each column Text databases are available for storing non-structured data typically text databases store

More information

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6 [AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6 Length : 2 Days Audience(s) : New or existing users Level : 3 Technology : Adobe Dreamweaver CS6 program Delivery Method : Instructor-Led (Classroom) Course

More information

Chapter 2 How to structure a web application with the MVC pattern

Chapter 2 How to structure a web application with the MVC pattern Chapter 2 How to structure a web application with the MVC pattern Murach's Java Servlets/JSP (3rd Ed.), C2 2014, Mike Murach & Associates, Inc. Slide 1 Objectives Knowledge 1. Describe the Model 1 pattern.

More information

Mastering XML Premium Edition

Mastering XML Premium Edition SYBEX Sample Chapter Mastering XML Premium Edition Chuck White Liam Quin Linda Burman Chapter 16: Displaying XML: Using XSLFO for Document Creation Copyright 2001 SYBEX Inc., 1151 Marina Village Parkway,

More information

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

Business Intelligence and Reporting Tools

Business Intelligence and Reporting Tools Business Intelligence and Reporting Tools Release 1.0 Requirements Document Version 1.0 November 8, 2004 Contents Eclipse Business Intelligence and Reporting Tools Project Requirements...2 Project Overview...2

More information

Master's Theses and Graduate Research

Master's Theses and Graduate Research San Jose State University SJSU ScholarWorks Master's Projects Master's Theses and Graduate Research 2010 Thien Tran San Jose State University Follow this and additional works at: http://scholarworks.sjsu.edu/etd_projects

More information

X-S Framework Leveraging XML on Servlet Technology

X-S Framework Leveraging XML on Servlet Technology X-S Framework Leveraging XML on Servlet Technology Rajesh Kumar R Abstract This paper talks about a XML based web application framework that is based on Java Servlet Technology. This framework leverages

More information

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^ Betsy Bruce John Ray Robyn Ness Sams Teach Yourself Adobe Wfl lif ver W ^msssi^ mm WlM ^lg^ SAMS 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction What Is Dreamweaver

More information

Introducing LaTeX users to xsl-fo

Introducing LaTeX users to xsl-fo Introducing LaTeX users to xsl-fo Jean-Michel Hufflen To cite this version: Jean-Michel Hufflen. Introducing LaTeX users to xsl-fo. TUGB, 2007, pp.118 124. HAL Id: hal-00644466 https://hal.archives-ouvertes.fr/hal-00644466

More information

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 9 9 Working with Tables Are you looking for a method to organize data on a page? Need a way to control our page layout?

More information