Server Side :


Web.xml



     <init-param>

            <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>

              <param-value>true</param-value>

        </init-param>

  

추가..


Client Side : 


ClientConfig clientConfig = new DefaultClientConfig();

clientConfig.getProperties().put(

ClientConfig.PROPERTY_FOLLOW_REDIRECTS, true);

clientConfig.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING, Boolean.TRUE);


기술..



+ Recent posts