cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David people (JIRA)" <>
Subject [jira] Created: (CXF-2154) Cannot get Form values from MultivaluedMap
Date Sat, 04 Apr 2009 14:57:12 GMT
Cannot get Form values from MultivaluedMap

                 Key: CXF-2154
             Project: CXF
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.2
         Environment: Windows XP Java 1.6 tomcat
            Reporter: David people

   I'm trying to get All the form fields from a a form which is posted to the restful web

    <form method="POST" action="http://localhost:8080/actrac/webservice/customerservice/temp"
             <input type="text" value="hello" name="param1"/>
             <input type="text" value="hfsello" name="param2"/>
             <input type="submit"/>

I have the following method

public String temp(MultivaluedMap<String, String> params){
     System.out.println("Params = "+params);
     return "<done></done>";

The output is always empty, the size of the params object is zero.

The very same method used to work in a previous version of CXF.


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message