Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Reference
Libraries Reference
ATL Server

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
ATL Server Library Reference 
ATL Server Response File Reference 

The elements of a server response file described in this section are those understood by the CHtmlStencil class. Further features can be added by deriving from this class and customizing the parsing code.

Server response files consist of the following elements:

Element Description

Codepage Tag

A codepage tag can be added to a server response file to indicate the character set used in that file. Specifying the codepage allows the server response file to be parsed correctly if it contains characters that are not part of the ANSI character set.

Comment Tag

A comment tag allows you to add comments to the server response file that will be removed during processing.

Handler Tag

A handler tag identifies a request handler that will be used to render some or all of the replacement tags in that file.

Include Tag

An include tag can be added to a server response file to indicate the point at which the contents of another file should be included in the response.

Locale Tag

A locale tag can be added to a server response file to indicate the locale that should be used for any response generated from that point on in the file.

Replacement Tag

A replacement tag can be added to a server response file to indicate the point at which dynamic content should be inserted into a response. Replacement tags consist of two pairs of braces enclosing the name of a replacement method or a rendering instruction.

Subhandler Tag

A subhandler tag identifies a request handler that will be used to render some or all of the replacement tags in that file.

Static Content

Static content can be any text (most likely, but not limited to, HTML and XML) that doesn't clash with one of the parser's tags.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker