【发布时间】:2012-08-31 15:39:32
【问题描述】:
在 JAXB 中,这是可能的(使用 marshaller 对象)。我不知道如何使用泽西岛。我想知道是否有办法以某种方式注入类似的东西:
<?xml-stylesheet type="text/css" href="something.css"?>
在生成的 xml 响应中。
【问题讨论】:
-
你现在如何使用 Jersey 和 JAXB?
-
@Tichodroma 我在类似于mkyong.com/webservices/jax-rs/jersey-spring-integration-example中描述的配置中使用它