No, it should be "path" for psp:include.  I just haven't updated the 
documentation.  @include includes the source of a file, psp:include 
actually does a application.includeURL call.

Jay

Geoff Talvola wrote:

> I just noticed that the documentation for PSP specifies the following 
> syntax:
> 
> If you want to include another PSP file in this PSP file and have it 
> be parsed for PSP content:
> <%@include file="myfile.txt"%>
> 
> If you want to forward the request to another servlet, including the 
> result in the output:
> <psp:include file="myfile.psp">
> 
> If you want to insert a file verbatim into the output:
> <psp:insert file="myfile.html">
> 
> But, it turns out that you actually have to use <psp:include 
> path="myfile.psp">.  The other two ones do work as advertised with 
> "file=".
> 
> Any objections to making all three of them use file=, to be consistent 
> with each other and with the documentation?
> 
> 
> -- 
> 
> - Geoff Talvola
>   [EMAIL PROTECTED]
> 
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-devel




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

Reply via email to