Request.QueryString in ebase 3.4

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Lee Brown
Ebase User
Posts: 2
Joined: Thu Jul 25, 2013 4:00 pm

Request.QueryString in ebase 3.4

#1

Postby Lee Brown » Fri Jul 26, 2013 8:51 am

Is there any way to read the entire querystring returned from a call url in ebase 3.4?

I know we can read individual elements of the querystring with a custom function getRequestParameter, but is there any way to read the entire string as the names of inbound parameters might not be known?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Fri Jul 26, 2013 12:44 pm

You can use the requestproperty function. This is one of the "additional" functions so you may need to install it first - see the online doc. With this function you can read any of the request properties in the underlying Java interface HttpServletRequest. I think you probably need the queryString or requestUrl property. See online javadoc for HttpServletRequest for a list of properties (anything that has a getXxx() method).

Regards
Jon
0 x

Lee Brown
Ebase User
Posts: 2
Joined: Thu Jul 25, 2013 4:00 pm

#3

Postby Lee Brown » Fri Jul 26, 2013 2:16 pm

Thanks Jon. I'll look into that.
0 x


Who is online

Users browsing this forum: No registered users and 13 guests