more specific question about parameters from querystring to JSP

2003-02-11 Thread Eduardo Zurita




I want to pass the parameter "username" with value 
"joe" to my generator (myservice.jsp)

The problem is:

 The user tries the page http://myserver/test.html?username=joe

 And i have the following in 
sitemap.xmap:

map:pipeline 
map:match pattern="test.html" 
map:act type="request" 
map:parameter name="parameters" 
value="true"/ map:generate 
type="jsp" 
src=""/ 
/map:act map:transform 
src=""/ 
map:serialize type="html"/ 
/map:match 
/map:pipeline/map:pipelines

Well, it doesn't work !!! :-(

Is this the correct way?

Please help,

thanks in advance.

Eduardo.


Re: more specific question about parameters from querystring to JSP

2003-02-11 Thread SAXESS - Hussayn Dabbous
You dont need the ?
try (error marked with '== look here ':
map:pipeline
 map:match pattern=test.html
   map:act type=request
 map:parameter name=parameters value=true/
 map:generate type=jsp
 src=services/myservice.jsp{requestQuery}/  == look here
   /map:act
map:transform src=services/stylesheets/myservice.xsl/
   map:serialize type=html/
 /map:match
/map:pipeline
/map:pipelines

Eduardo Zurita wrote:

I want to pass the parameter username with value joe to my generator 
(myservice.jsp)
 
The problem is:
 
The user tries the page http://myserver/test.html?username=joe
 
And i have the following in sitemap.xmap:
 
map:pipeline
map:match pattern=test.html
  map:act type=request
map:parameter name=parameters value=true/
map:generate type=jsp 
src=services/myservice.jsp?{requestQuery}/  
  /map:act
   map:transform src=services/stylesheets/myservice.xsl/
  map:serialize type=html/
/map:match
   /map:pipeline
 /map:pipelines
 
Well, it doesn't work !!! :-(
 
Is this the correct way?
 
Please help,
 
thanks in advance.
 
Eduardo.

--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: more specific question about parameters from querystring to JSP

2003-02-11 Thread SAXESS - Hussayn Dabbous
you can make it even simpler:

map:pipeline
 map:match pattern=test.html
   map:act type=request
 map:generate type=jsp
 src=services/myservice.jsp{requestQuery}/
   /map:act
map:transform src=services/stylesheets/myservice.xsl/
   map:serialize type=html/
 /map:match
/map:pipeline
/map:pipelines


SAXESS - Hussayn Dabbous wrote:

You dont need the ?
try (error marked with '== look here ':
map:pipeline
 map:match pattern=test.html
   map:act type=request
 map:parameter name=parameters value=true/
 map:generate type=jsp
 src=services/myservice.jsp{requestQuery}/  == look here
   /map:act
map:transform src=services/stylesheets/myservice.xsl/
   map:serialize type=html/
 /map:match
/map:pipeline
/map:pipelines

Eduardo Zurita wrote:


I want to pass the parameter username with value joe to my 
generator (myservice.jsp)
 
The problem is:
 
The user tries the page http://myserver/test.html?username=joe
 
And i have the following in sitemap.xmap:
 
map:pipeline
map:match pattern=test.html
  map:act type=request
map:parameter name=parameters value=true/
map:generate type=jsp 
src=services/myservice.jsp?{requestQuery}//map:act
   map:transform src=services/stylesheets/myservice.xsl/
  map:serialize type=html/
/map:match
   /map:pipeline
 /map:pipelines
 
Well, it doesn't work !!! :-(
 
Is this the correct way?
 
Please help,
 
thanks in advance.
 
Eduardo.




--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: more specific question about parameters from querystring to JSP

2003-02-11 Thread Eduardo Zurita

Thanks, it worked !!!

- Original Message -
From: SAXESS - Hussayn Dabbous [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 2:56 PM
Subject: Re: more specific question about parameters from querystring to JSP


 You dont need the ?
 try (error marked with '== look here ':
 map:pipeline
   map:match pattern=test.html
 map:act type=request
   map:parameter name=parameters value=true/
   map:generate type=jsp
   src=services/myservice.jsp{requestQuery}/  == look here
 /map:act
  map:transform src=services/stylesheets/myservice.xsl/
 map:serialize type=html/
   /map:match
  /map:pipeline
 /map:pipelines

 Eduardo Zurita wrote:
  I want to pass the parameter username with value joe to my generator
  (myservice.jsp)
 
  The problem is:
 
  The user tries the page http://myserver/test.html?username=joe
 
  And i have the following in sitemap.xmap:
 
  map:pipeline
  map:match pattern=test.html
map:act type=request
  map:parameter name=parameters value=true/
  map:generate type=jsp
  src=services/myservice.jsp?{requestQuery}/
/map:act
 map:transform src=services/stylesheets/myservice.xsl/
map:serialize type=html/
  /map:match
 /map:pipeline
   /map:pipelines
 
  Well, it doesn't work !!! :-(
 
  Is this the correct way?
 
  Please help,
 
  thanks in advance.
 
  Eduardo.

 --
 Dr. Hussayn Dabbous
 SAXESS Software Design GmbH
 Neuenhöfer Allee 125
 50935 Köln
 Telefon: +49-221-56011-0
 Fax: +49-221-56011-20
 E-Mail:  [EMAIL PROTECTED]


 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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