Hi,
If I declare the resource as managed bean then pathparams declared as fields are not set.
It works if do not make it a managed bean or if pathparams are declared as method parameters.
@ManagedBean
@Path("testfp/{fp}/sub")
public class TankRS {
@PathParam("fp")
private String fp;
@GET
public String testMethoth() {
System.out.println(fp == null);
return fp;
}
}
I tried it with jersey 1.1.4 and glassfishv3 build 74.
It used to work with jersey 1.1.3
Herak