02-02-2012 07:49 AM
I create the following form (jquery change it as ajax request and do the put request) :
<form action="/nuxeo/site/jersey-breaker/QueryFromJersey" method="put">
Value: <input type="text" name="value" /><br />
<input type="submit" value="Submit" />
</form>
And I try to get my parameters with JAXRS:
@PUT
public Object doPut(@QueryParam("value") String value) {
return getView("result").arg("value", value);
}
or
@PUT
public Object doPut() {
String value = (String) ctx.getRequest().getParameter("value");
return getView("result").arg("value", value);
}
I have value returned as null !!!
02-02-2012 07:51 AM
I create a JIRA ticket with the answer on it:
https://jira.nuxeo.com/browse/NXP-8778
Hope this will help a guy like me disturbed a time.
02-02-2012 07:51 AM
I create a JIRA ticket with the answer on it:
https://jira.nuxeo.com/browse/NXP-8778
Hope this will help a guy like me disturbed a time.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.