Possible Duplicate:
What can I do when getting “It does not meet our quality standards”?
Q : How can I return data and file both in jax-rs service using cxf
Its really frustrating...my question is as below...And i cld not find answer anywhere..
I have file data as byte[] . In jax-rs service i am returning list
@Produces("text/json")
public List<Employee> getEmployeeList() {
}
class Employee {
String name;
byte[] photo;
}
SO when i return list, i want lint to list employee with its photo.
How can i achieve this ?
call to getEmployee is an ajax call.
i want to list employees with its photoid.