-
CSP Help
I'm having trouble understanding the syntax for the include tag in CSP (C++ Server Pages).
Can someone please explain it to me?
Thanks,
WannaB_Geek
-
Banned
Really? Do go into further detail. It uses reguar C++ thus regular C style include tags.
-
Banned
On a side note: I'm now playing with this, this is indeed an amazing toy. Kudos to you good sir for knowing this exists.
-
I don't mean regular C include directives (#include <iostream>)
I mean a CSP tag that works as a server-side include:
<%@ include uri="uri" (static | dynamic) %>
static makes it work much like the #include directive, except what it includes is CSP rather than C/C++
dynamic essentially runs the CSP script being called and inserts the output from said script where the include tag was.
There wasn't really any explanation of the syntax listed, so I was wondering if anyone knew how it works. From what I gather it seems to be:
<%@ include uri="nav.csp" dynamic %> or
<%@ include uri="copyright.csp" static %>
The article this syntax comes from is:
http://bbcr.uwaterloo.ca/~brecht/cou...pages-2003.pdf
Also (i'm glad to know I'm not the ONLY person who's heard of this), do you know of a good reference site on CSP? All the ones I've been able to find are rather incomplete.
Thanks,
WannaB_Geek
P.S. the <%=myObject%> tag translates to response<<myObject, right? I'm just wondering if I can use operator<< overloading to make it easier to print out certain data.
Popular pages
Recent additions