produce dynamic Web pages with Java and XSLT

Version:

Downloads:13

Hits:446

SourceNO

Link Broken:Report It!

Package:Without source

Price:$0

More info Download
 

Description

Earlier XML, developers had to produce dynamic Web pages with some sort of server-side scripting technology, such as CGI, Java servlets, or JSP. In the pre-XML model, a built-in API makes the user-request parameters available,- the server-side script then generates dynamic content and sends it back to the browser. That's still probably the best programming model for applications that need real-time access to data stored in a database. In this new model, you create XML documents from the data stored in your databases at some regular interval. Then you serve the XML documents directly to clients. For Web browser clients, you transform XML to XHTML via XSLT style sheets. It gets really interesting when you have to use only one style sheet to create different XHTML pages based on the user input. I'll show you how to implement this technique. This article discusses two ways to produce dynamic Web pages with Java and XSLT by passing user-request parameters from a Java backend program to an XSLT style sheet used to render the Web page. The sample code demonstrates the use of the XSLTProcessor method and a custom method, plus how to use global parameters in XPath expressions.

Related:

User Reviews:

Write Review *
Your name *
Email *
(Your comments will be reviewed by our staff before they are posted)
Rate this product *

 

Related:

Data Binding with Castor

XML data binding for Java is a powerful alternative to XML document models for applications concerned mainly with the data content of documents. In...

By: Data Binding with Castor Homepage

Freeware

Effective XML processing with DOM and XPath in Java

Based on an analysis of several large XML projects, this article examines how to make effective and efficient use of DOM in Java. The DOM offers a...

By: Effective XML processing with DOM and XPath in Java Homepage

Freeware

Managing e-zines with JavaMail and XSLT, Part 2

This article demonstrates how to automate e-mail publishing jobs with Java and XML. This application of XML and XSLT describes an e-mail newsletter...

By: Managing e-zines with JavaMail and XSLT, Part 2 Homepage

Freeware

Using XML and JSP together

Like most Java programmers, you may know what JavaServer Pages (JSP) and Extensible Markup Language (XML) are, but you may be a little unclear on...

By: Using XML and JSP together Homepage

Freeware

XML Programming in Java

This article describes the design and implementation of an intuitive, fast and compact (only 40K) Java toolkit for parsing and manipulating XML --...

By: XML Programming in Java Homepage

Freeware

XLSReadWriteII.NET 2.00

XLSReadWriteII.NET for Delphi 2005/2006 and others, Win Forms Use this version for creating Win Forms applications with Delphi, Visual Studio and...

By: Axolot Data

Shareware

TGPS 1.11

Interface with your GPS receiver.

By: Axolot Data

Shareware

pgISQL (Interactive SQL for PostgreSQL) ver. 2.2.0 2.2.0

Interactive SQL for PostgreSQL is a powerfull database utility. It allows: Build SQL queries using SQL Editor with SQL syntax highlighting and SQL...

By: Sujit

Shareware

Syndicate Pro 1.0

Syndicate Pro multi-platform compatible. Syndicate Pro is server software for managing and distributing news headlines and other content over the ...

By: Sujit

Shareware

ESBPCS for VCL 4.2.2

ESB Professional Computation Suite (ESBPCS for VCL) provides a huge collection of Borland Delphi Routines and Components to make Data Entry and...

By: Glenn Crouch Homepage

Shareware
Related