diff --git a/composite-view/web/index.jsp b/composite-view/web/index.jsp index cb268a7637d4..47a8d774caad 100644 --- a/composite-view/web/index.jsp +++ b/composite-view/web/index.jsp @@ -26,21 +26,53 @@ --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> - + + Composite Patterns Mock News Site - - + +

Welcome To The Composite Patterns Mock News Site

-

Send a GET request to the "/news" path to see the composite view with mock news

-

Use the following parameters:

-

name: string name to be dynamically displayed

-

bus: boolean for whether you want to see the mock business news

-

world: boolean for whether you want to see the mock world news

-

sci: boolean for whether you want to see the mock world news

-

sport: boolean for whether you want to see the mock world news

- +
+

Send a GET request to the "/news" path to see the composite view with mock news

+

Use the following parameters:

+

name: string - Your name to be dynamically displayed

+

bus: boolean - Set to true to see mock business news

+

world: boolean - Set to true to see mock world news

+

sci: boolean - Set to true to see mock science news

+

sport: boolean - Set to true to see mock sports news

+

Example Request:

+

/news?name=John&bus=true&world=false&sci=true&sport=false

+

If the request fails, ensure you have the correct parameters and try again.

+
+