T
Tobias Schierge
Hi,
i'm trying to develop JSPs in XML-Compliant Syntax. How do you cope with
Pages that include Header and Footer Files, these include-files - in most
cases - cannot be valid.
Is it possible to save the output of a Page to a variable without flushing
the Output to the client and then include it to a page that has Header and
Footer in 1 File?
Client Request |------------|
| | Header |
_____>____ | __________ |
| | | | | |
| Content| -----|-|-> | |-------> Browser
| (JSP) | | | | |
---------- | ---------- |
| Footer |
|------------|
1 JSP File
Are there other solutions? Putting a CDATA around the contents of the
non-valid pieces does not seem to be a good idea to me.
Regards,
Tobias
i'm trying to develop JSPs in XML-Compliant Syntax. How do you cope with
Pages that include Header and Footer Files, these include-files - in most
cases - cannot be valid.
Is it possible to save the output of a Page to a variable without flushing
the Output to the client and then include it to a page that has Header and
Footer in 1 File?
Client Request |------------|
| | Header |
_____>____ | __________ |
| | | | | |
| Content| -----|-|-> | |-------> Browser
| (JSP) | | | | |
---------- | ---------- |
| Footer |
|------------|
1 JSP File
Are there other solutions? Putting a CDATA around the contents of the
non-valid pieces does not seem to be a good idea to me.
Regards,
Tobias