Howdy all.
Is there anyway to import HTML code from one page into another?
My pages are .JSPs, and normally I would use the
jsp:include method, but in this case, because I'm importing (intentionally) incomplete code, it won't allow that.
To specify: I've got a table with three columns and three rows.
The first and last rows and columns are borders (images), the middle spot is used to insert an inner table. The obvious effect is a table with an outer border of my choosing.
This works well, but the code I have to set it up it rather lengthy, and often repeated.
What I would like is, essentially, to be able to just do
html:import value ="../tableTop.html" A table html:import value ="../tableBottom.html" Problem is that the table top would end with many unclosed tags and table bottom would close many seemingly unexisting ones.
I suppose basically I want a dumb importer that doesn't care what it's getting, just copies and pastes all the text from a specified file.
Any ideas?