produce dynamic Web pages with Java and XSLT
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:
Related:
Data Binding with CastorXML data binding for Java is a powerful alternative to XML document models for applications concerned mainly with the data content of documents. In... |
Freeware |
Effective XML processing with DOM and XPath in JavaBased 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... |
Freeware |
Managing e-zines with JavaMail and XSLT, Part 2This article demonstrates how to automate e-mail publishing jobs with Java and XML. This application of XML and XSLT describes an e-mail newsletter... |
Freeware |
Using XML and JSP togetherLike most Java programmers, you may know what JavaServer Pages (JSP) and Extensible Markup Language (XML) are, but you may be a little unclear on... |
Freeware |
XML Programming in JavaThis article describes the design and implementation of an intuitive, fast and compact (only 40K) Java toolkit for parsing and manipulating XML --... |
Freeware |
XLSReadWriteII.NET 2.00XLSReadWriteII.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.11Interface with your GPS receiver.By: Axolot Data |
Shareware |
pgISQL (Interactive SQL for PostgreSQL) ver. 2.2.0 2.2.0Interactive 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.0Syndicate 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.2ESB Professional Computation Suite (ESBPCS for VCL) provides a huge collection of Borland Delphi Routines and Components to make Data Entry and...By: Glenn Crouch |
Shareware |
- Dynamic Web Pages
Simple explanation of what Database Driven Dynamic web pages are by Stefan Mischook. - Jeni's XSLT Pages
Jeni Tennison is a very active XSLT community member. This page is her homepage for her many XSLT activities. With 25... - Accessing an Xml Database from XSLT via a Java URIResolver
A simple example of an implementation of a JAXP javax.xml.transform.URIResolver for XMLDB databases, such as Xindice. - Stupid XSLT Tricks: Some Fun XSLT Examples
A stupid XSL trick is a use of XSLT for something unusual or amusing for which it wasn't necessarily designed. These... - Programming Dynamic HTML in Java
The com.ms.wfc.html package of the Windows Foundation Classes for Java (WFC) framework provides Dynamic HTML (DHTML) on a... - Groovy: The Birth of a New Dynamic Language for the Java Platform
Brief summary of ideas behind Groovy; by James Strachan, Radio Userland. - Using a Java Class with Active Server Pages
This article demonstrates how one can use a Java class as an ActiveX server side object with Microsoft ASP. (Microsoft) - Free Software Foundation Java Pages
A collection of Java programs and projects that are licensed with the Gnu Public License (GPL). [Open Source] - Develop WAP applications with Java servlets and JavaServer Pages
An Article reviewing the GUI-based tool PerfAnal for analyzing the performance of applications on the JavaTM 2 Platform.... - Dynamic Web Submission
Automatic search engine submission along with several other search engine optimization tools. [Win95/98/ME/NT/2000/XP]
