You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2008/01/10 20:43:34 UTC
[jira] Assigned: (TUSCANY-1960) JSONRPCServiceServlet should use
getQueryString() instead of getParameter()
[ https://issues.apache.org/jira/browse/TUSCANY-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Sebastien Delfino reassigned TUSCANY-1960:
-----------------------------------------------
Assignee: Jean-Sebastien Delfino
> 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
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org