The topic of this article may not meet Wikipedia's notability guidelines for products and services. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.Find sources: "EXtensible Server Pages" – news · newspapers · books · scholar · JSTOR (November 2012) (Learn how and when to remove this message)
This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "EXtensible Server Pages" – news · newspapers · books · scholar · JSTOR (November 2012) (Learn how and when to remove this message)


eXtensible Server Pages (XSP) is an XML-based language, which offers the possibility of dynamically arranged Java code into XML documents.

It was developed by the Apache Software Foundation for the Web Publishing Framework Cocoon. The focus of XSP is the separation of content, logic and presentation. The Java program code is in its own XML section <xsp:logic> that can either occur within or outside of the root element (<xsp:page>).

The Java code is compiled with the first call. These directives are replaced by the generated content so that the resulting, augmented XML document can be subject to further processing with XSL Transformations.

XSP pages are transformed into Cocoon producers, typically as Java classes, though any scripting language for which a Java-based processor exists could also be used.

Directives can be either XSP built-in processing tags or user-defined library tags. XSP built-in tags are used to embed procedural logic, substitute expressions and dynamically build XML nodes. User-defined library tags act as templates that dictate how program code is generated from information encoded in each dynamic tag.

[edit]