给一个资源类,有一个方法将返回一个可视(或通常任何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" />