JAVA agent getQueryString()

Hello All,

I am trying to retrieve the queryString in a java agent. I have found a getQueryString() method under URI under WebTypes in the Reference tab in designer. But I do not know what object to call it against. I can’t get the agent to compile. I have tried session, agentContext and agent. Has anyone retrieved a queryString in a java agent?

TIA

Joe

Subject: JAVA agent getQueryString()

Joe,

I don’t know about that method you found, but we just simply retrieve the query string like this…

String queryString = doc.getItemValueString(“Query_String”);

…and then we parse the string and extract the parameter we want.

Ken A Collins

New York City