You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2026/07/18 06:13:06 UTC
(struts) 05/18: WW-5653 fix(showcase): serve html5 demo Bootstrap CSS via webjar
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch WW-5653-bootstrap5-sample-apps
in repository https://gitbox.apache.org/repos/asf/struts.git
commit d7408d8563bb1d75f1092a65a2f8887aad075e29
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri Jul 17 21:23:03 2026 +0200
WW-5653 fix(showcase): serve html5 demo Bootstrap CSS via webjar
Co-Authored-By: Claude Opus 4.8 <no...@anthropic.com>
---
apps/showcase/src/main/webapp/WEB-INF/html5/index.jsp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/apps/showcase/src/main/webapp/WEB-INF/html5/index.jsp b/apps/showcase/src/main/webapp/WEB-INF/html5/index.jsp
index c5ce4793f..1bab19d54 100644
--- a/apps/showcase/src/main/webapp/WEB-INF/html5/index.jsp
+++ b/apps/showcase/src/main/webapp/WEB-INF/html5/index.jsp
@@ -23,8 +23,7 @@
<s:compress>
<html lang="en">
<head>
- <s:url var="bootstrapCss" value="/styles/bootstrap.css" encode="false" includeParams="none"/>
- <s:link theme="html5" href="%{bootstrapCss}"/>
+ <link rel="stylesheet" href="<s:webjar path='bootstrap/css/bootstrap.min.css'/>"/>
<s:url var="mainCss" value="/styles/main.css" encode="false" includeParams="none"/>
<s:link theme="html5" href="%{mainCss}" />
<s:head theme="html5"/>