給一個資源類,有一個方法將返回一個可視(或通常任何jsp頁面)。有沒有辦法使用c:import或jsp:include taglib來包含來自jaxrs anotatted類的可視響應?對於給定的類球衣可見和c:導入標籤lib
@Path("/some/path")
public class SomeJaxrsResource {
@GET
public Viewable get() {
return new Viewable("/the/path/to/the/jsp", this)
}
}
例如有沒有一種方法,包括它的計算HTML在JSP中有 一個
<c:import url="/some/path" />
或
<jsp:include page="/some/path" />