[ https://issues.apache.org/jira/browse/TUSCANY-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Sebastien Delfino resolved TUSCANY-1960. --------------------------------------------- Resolution: Fixed Fix Version/s: Java-SCA-Next Fixed in r610899. > JSONRPCServiceServlet should use getQueryString() instead of getParameter() > --------------------------------------------------------------------------- > > Key: TUSCANY-1960 > URL: https://issues.apache.org/jira/browse/TUSCANY-1960 > Project: Tuscany > Issue Type: Bug > Components: Java SCA JSON-RPC Binding Extension > Affects Versions: Java-SCA-1.0.1 > Reporter: Brent Daniel > Assignee: Jean-Sebastien Delfino > Priority: Minor > Fix For: Java-SCA-Next > > > The current JSONRPCServiceServlet uses the following code to handle SMD > requests: > if (request.getParameter("smd") != null) { > handleSMDRequest(request, response); > } > With some web containers, a path such as "/HelloWorldService?smd" will result > in request.getParameter("smd") returning null since no value is assigned to > the parameter. A better way to check would be to use getQueryString(): > if ("smd".equalsIgnoreCase(request.getQueryString())) { > handleSMDRequest(request, response); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]