2011-07-26 61 views

回答

0
@POST 
@Path("<some path here>") 
public Response addBookJaxbJson(
    @Multipart(value = "employee", type = "application/json") Employee emp, 
    @Multipart(value = "student", type = "application/json") Student student, 
    @Multipart(value = "course", type = "application/json") Course course) 
    throws Exception { 
} 

,當然還有,你的客戶將不得不派出多的數據,無論是從形式還是以某種方式構建。

+0

感謝您的回覆。我通常有這樣的代碼 – venkat

相關問題