cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject HTTP request parameter
Date Thu, 09 Aug 2001 11:17:38 GMT

what is required to get the http request parameter to work? I have
<xsp:page language="java"
          xmlns:request=""  <<---HERE

      select name as reg_name,
             deviceID as reg_deviceID,
             description as reg_description,
             startTime as reg_startTime,
             endTime as reg_endTime
      from user, terminal, deviceType, registration
      where terminal.userID = <request:get-parameter name="userID"/>
            and user.userID = terminal.userID
            and deviceType.deviceType = terminal.deviceType
            and registration.terminalID = terminal.terminalID;

As far as I have understood, I can then put 
at the end of the url, e.g. 

and 123456 will be used. But it's not working, so I guess I'll have to add
something somewhere? I don't get any error messages, but I don't get any
data from the query either. The query works when I use

<!ENTITY userID "123456"> //(in the DTD)


and terminal.userID = &userID; //(in the query)

I'm using Cocoon 1.8.2

/Anne Marie

-----Original Message-----
From: JEULIN Olivier []
Sent: 31. juli 2001 13:26
To: ''
Subject: RE: Connecting database and XML pages


	  	select b.ref as ref b.quantite as nb
	  	from basket b
	  	where = <request:get-parameter name="fragResultID"/>
<!-- using a HTTP req. param. -->

[more ...]

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message