Skip to main content

Using a CSP:Object Tag

generated description: cspobjecttag0 20111

At this point our ShowTimes page lacks only two features: the Tickets button and the text at the top of the page that reads “Today's Show Times for” followed by the name of the film whose show times the page is currently displaying. We will implement the Tickets button later in the tutorial.

To get the current film name, we're going to use a <csp:object> tag. In contrast to the <csp:query> tag, which enables us to include the output of a query in our page, the <csp:object> tag enables us to use a single object for which we know the object ID.


We will add the Tickets button feature in Part III.

FeedbackOpens in a new tab