JSP in XML-Compliant Syntax

  • Thread starter Tobias Schierge
  • Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top