Tim, Have a look at the contents of core.log (should be under tomcat/work/MainEngine/localhost/<yourwebapp>/WEB-INF/logs).
If you can send the section where it matches your request for the login page, that would probably help us figure out what is wrong. Cheers, Cedric -----Original Message----- From: Tim Bachta [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 15:32 To: [EMAIL PROTECTED] Subject: RE: Accepting an input parameter Cedric, This is what my sitemap looks like now: <map:match pattern="login"> <map:generate type="serverpages" src="xsp/login.xsp" label="debug1"> <map:parameter name="parameters" value="true" /> </map:generate> <map:transform type="xslt" src="style/dialog.xsl" label="debug2"> <map:parameter name="css-stylesheet" value="global.css"/> <map:parameter name="parameters" value="true" /> </map:transform> <map:serialize type="html"/> </map:match> and my xsp is using String userid =<xsp-request:get-parameter name="userid" default="defaultinput" as="string"/>; And my url is http://localhost:8080/cocoon/test/login?userid=11 And I am still not getting the userid. Am I doing something wrong (obviously I am) Thanks for the help it is greatly appreciated. Tim -----Original Message----- From: Cedric Picard [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 9:06 AM To: [EMAIL PROTECTED] Subject: RE: Accepting an input parameter Tim, You need to pass the parameters to your xsp from the pipeline: Example given: <map:pipeline> <map:match pattern="login"> <!--========================================================= // use the value of param xspFile as the filename for the xsp //========================================================--> <map:generate type="serverpages" src="documents/{xspFile}"> <!--========================================================= // pass the parameter so xspFile is defined //========================================================--> <map:parameter name="parameters" value="true" /> </map:generate> <!--========================================================= // use the value of param xslFile as the filename for the xsl //========================================================--> <map:transform src="stylesheets/{xslFile}"> <map:parameter name="parameters" value="true" /> </map:transform> <map:serialize type="html" /> </map:act> </map:match> </map:pipeline> Hope that helps, Cedric -----Original Message----- From: Tim Bachta [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 14:58 To: [EMAIL PROTECTED] Subject: Accepting an input parameter I am calling a Cocoon page from another application using a <a href> tag. The url that I am calling is http://localhost:8080/cocoon/test/login?userid=11 <http://localhost:8080/cocoon/test/login?userid=11> . The problem I am having is getting my xsp page to grab the value of the userid from the input url. How do I do this, I have tried using the <xsp-request:get-parameter name="userid" default = "defaultinput" as="string"/> but that does not work. Do I need to add something to my sitemap to pass that value through? Can someone please help me, it would be greatly appreciated. Thanks Tim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This e-mail is confidential and is intended for the named recipient only. If you receive it in error please destroy the message and all copies. Kainos Software Ltd. does not accept liability for damage sustained as a result of malicious software (e.g. viruses). Kainos does not accept liability for, or permit, the creation of contracts on its behalf by e-mail, the publication of any defamatory statement by its employees by e-mail, or changes subsequently made to the original message. The Company's registered office is located at 4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This e-mail is confidential and is intended for the named recipient only. If you receive it in error please destroy the message and all copies. Kainos Software Ltd. does not accept liability for damage sustained as a result of malicious software (e.g. viruses). Kainos does not accept liability for, or permit, the creation of contracts on its behalf by e-mail, the publication of any defamatory statement by its employees by e-mail, or changes subsequently made to the original message. The Company's registered office is located at 4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
