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 <[email protected]>
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 <[email protected]>
---
 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"/>

Reply via email to