users@jersey.java.net

[Jersey] FeaturesAndProperties - FEATURE_XMLROOTELEMENT_PROCESSING

From: chriso <crizo22_at_hotmail.com>
Date: Fri, 2 Mar 2012 16:47:04 -0800 (PST)

Referring to this post:
http://jersey.576304.n2.nabble.com/Pluralization-again-td5369791.html
and this:
http://jersey.576304.n2.nabble.com/XmlRootElement-and-plurals-td4666686.html#a5941014

I have set this init-param, but it's not affecting the output, i.e., I still
get this:

   <segmentBeans>
      <segment/>
   </segmentBeans>

On a related note, can someone tell me if I am setting this correctly? I
simply did as Paul said and set it in Tomcat's web.xml as an init-param. I
have no idea how to use the FeaturesAndProperties interface, and its
FEATURE_XMLROOTELEMENT_PROCESSING field. I can't find any
examples/documentation anywhere.

Thanks for any help.

--
View this message in context: http://jersey.576304.n2.nabble.com/FeaturesAndProperties-FEATURE-XMLROOTELEMENT-PROCESSING-tp7338560p7338560.html
Sent from the Jersey mailing list archive at Nabble.com.