@SuppressWarnings("serial")
public class JSPBootstrapComponent extends TagSupport {
@Override
public int doStartTag() {
BootstrapComponent bootstrapComponent = new BootstrapComponent((HttpServletRequest) pageContext.getRequest());
bootstrapComponent.setNoCache(nocache != null && nocache);
try {
pageContext.getOut().write(bootstrapComponent.getJavaScript());
} catch (IOException e) {
throw new RuntimeException(e);
}
return SKIP_BODY;
}