tbl
|
| Posted: 07/15/2002, 8:05 PM |
|
Hi
How do you include a file in a jsp and have it rendered in the body section of the jsp?
When I include a file on a page it renders it above the globally included header that I already have . I do this via a custom include on the page.
TIA
|
|
|
 |
Dandavat
|
| Posted: 07/16/2002, 9:28 AM |
|
Hi!
Wherever you place 'Include Page' control in Desing or HTML view - there included page will appear in the generated JSP.
Hari Bol!
Dandavat.
|
|
|
 |
tbl
|
| Posted: 07/16/2002, 3:44 PM |
|
thanks for your reply but can you elaborate further ?
I currently do it this way :
I generate a page with my globally included header page then I open up the generated jsp in a text editor then add my include directive and save that file. This way it adds the included static page in the body section of page but it seems this approach it klunky. where abouts can the directive be included in the design view so that I can get this same result?
thanks
|
|
|
 |
Dandavat
|
| Posted: 07/17/2002, 6:21 AM |
|
Hi!
To include static html in your page switch to html view and type the following directive wherever you want included html appear:
<%@include file="static.html"%>
Generate code and you will see this directive appear in the resulted JSP!
Hari Bol!
Dandavat.
|
|
|
 |