> David asks:
>
> >If I use <psp:include file="common.psp"> the code in common.psp never
gets
> >run (and I understand that that directive is intended just for intending
> >static-ish HTML files.)
>
> I put my common code into a support subdirectory, so I use <%@ include
> file="support/common.psp" %> for this sort of thing.  The "<%@ include"ed
> code is inserted literally into the web page, so it has access to res,
req,
> and anything else that you'd have if you had just copied & pasted the
> code.  I've found it is particularly useful to mix HTML and PSP in the
> files that get included.

Thanks for this! I should have RTFM'd properly in the first place.

David O'Callaghan


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to