我发现的最佳解决方案是:
RequestContext context = RequestContext.getCurrentInstance();context.execute("window.open('resource.jsp', '_newtab')");
我发现的最佳解决方案是:
RequestContext context = RequestContext.getCurrentInstance();context.execute("window.open('resource.jsp', '_newtab')");