I'm developing an application using xpages in domino 8.5.2 running on a windows 2003 server.
This function (used for displaying a Fusion Chart swf chart) then calls a lotusscript agent with the fusion charts setDataURL api call. The url contains the agent name and the parameters like
.The agent returns xml.
The problem is that when I test the agent via a browser, I can add the parameters using the "&" sign and this works fine, but from within my xpage, I have to use the "?" sign for the agent to get the Query_String values.
When both val1 and val2 is empty I have no problem as the Query_String value contains all my parameters. The moment I add values to the parameters I get the following error:
2011/02/02 11:09:47 AM HTTP Web Server: Invalid URL Exception [/myProject/dbpath/myProject.nsf/ResourceAllocation?openagent?sDate=11/02/01?eDate=11/02/28]
I have also tried to change the data to normal string values like sDate=test1?eDate=test2 thinking that the "/" in the value was the problem, but this also gives me the exact same error.