I added the parameter to my init params for the jersey spring servlet like
so:
<property name="initParameters">
<map>
<entry key="com.sun.jersey.config.property.packages"
value="com.traveladnetwork.web.service.resource.ad.server" />
<entry
key="com.sun.jersey.config.property.resourceConfigClass"
value="com.sun.jersey.api.core.PackagesResourceConfig" />
<entry
key="com.sun.jersey.config.feature.XmlRootElementProcessing"
value="true" />
</map>
</property>
but it looks like it's not affecting the XML. My bean looks like:
@XmlRootElement(name="advertiser")
public class AdvertiserDTO
and when i return a list of AdvertiserDTOs w/ jersey, the XML still shoes
<advertiserDTOes>
--
View this message in context: http://jersey.576304.n2.nabble.com/XmlRootElement-and-plurals-tp4666686p5941014.html
Sent from the Jersey mailing list archive at Nabble.com.