smith

why use key as a parameter... if you make it part of 
the uri, you can setup different matches for it,
each of which could be calling the same generator

<map:match pattern="xx/mail/login">
  <map:generate src="read.xsp" type="generator"/>

or 

<map:match pattern="xx/mail/no-login">
  <map:generate src="read.xsp" type="generator"/>

etc.

The XSP can access the  parameters 'ud' and 'pwd'
as per normal.

Think outside the box... think Cocoon!

>>> [EMAIL PROTECTED] 2004/08/25 01:24:21 PM >>>
i have a file read.xsp which is called for the url

http://xx/mail?key=login&ud=user&pwd=pass 
ie read.xsp is the generator.

3 parameters are passed in the url.
Now from the xsp, is it possible to redirect to another url based on
the value of parameter 'key'.

However the parameters 'ud' and 'pwd' should be passed to the next url
as parameters.

http://x.com/mail/login?ud=user&pwd=pass 














-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to