[ 
https://issues.apache.org/jira/browse/CXF-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697018#action_12697018
 ] 

Sergey Beryozkin commented on CXF-2154:
---------------------------------------

Thanks, will try it.

or may be you can try the latest 2.2.1-SNAPSHOT ?

As the last resort, please download the CXF 2.2.source

http://www.apache.org/dyn/closer.cgi?path=%2Fcxf%2F2.2%2Fapache-cxf-2.2-src.zip

and try to debug and see why the values are lost...

Please also check no CXF 2.1.x is available on the classpath..., yea, may be 
there're some classpath issues.



> Cannot get Form values from MultivaluedMap
> ------------------------------------------
>
>                 Key: CXF-2154
>                 URL: https://issues.apache.org/jira/browse/CXF-2154
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.2
>         Environment: Windows XP Java 1.6 tomcat
>            Reporter: David people
>
> Hi,
>    I'm trying to get All the form fields from a a form which is posted to the 
> restful web service.
>     <form method="POST" 
> action="http://localhost:8080/webapp/webservice/customerservice/temp"; >
>              <input type="text" value="hello" name="param1"/>
>              <input type="text" value="hfsello" name="param2"/>
>              <input type="submit"/>
>     </form>
> I have the following method
> @POST
> @Path("/temp")
> @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
> public String temp(MultivaluedMap<String, String> params){
>      System.out.println("Params = "+params);
>      return "<done>"+params+"</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.
> Is there a new way to use MultivaluedMap?
> Thanks...

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

Reply via email to