On Mar 20, 2008, at 5:39 AM, nanomonk wrote:
for example I have:
_____
<map:match pattern="foo/getfile">
<map:generate src="foo/getfile.xsp" type="serverpages"/>
<map:serialize type="file-serializator"/>
</map:match>
_____
it works fine, file is generating and response. But this file have
filename
== "getfile" and without extension. Can I set another filename(or
just set
extension) without changing "foo/getfile"?
Reason - file is generating according different parameters of request.
I don't quite get the question... But URL pattern is not in any form
tied to the file name passed to generator. You can write something
like this:
<map:match pattern="foo/getfile">
<map:generate src="bar/baz.ext" type="serverpages"/>
<map:serialize type="file-serializator"/>
</map:match>
As long as there is file "bar/baz.ext", it will work fine.
Vadim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]