There's a guide on the AOD Developer's Guide on page 111 (
https://www.devconnectprogram.com/fileMedia/download/d1e60358-b1d5-4e39-9236-ad1b699a59b9)
The idea is you modify the template files in the custom directory and let the AOD generate JSP files for the Nodes from the modified template files.
Customizing JSP
About this task
You can have the same look and feel across all the forms in a web application. For example, you
can have header and footer on all pages of your web application matching the company’s website.
The header will have the company logo and footer will have the links to general information.
Follow the below steps to customize an application to have a common look-and-feel across
multiple pages:
Procedure
1. Right click the project that you want to customize and click Properties. click
Orchestration Designer > JS/CSS/Theme tab.
2. In the Properties dialog, select Orchestration Designer > JS/CSS/Theme.
3. Click the Use custom templates instead of system templates to generate jsp files
check box.
4. Click Ok.
Orchestration Designer automatically adds four new template files -
AppRoot_Sample_template.jsp, Form_Sample_template.jsp,
Menu_Sample_template.jsp, and Return_Sample_template.jsp, to the custom
directory. These new files are the working template files that Orchestration Designer uses
to generate JSPs instead of the system template files.
5. Add the HTML code in each of the four files, and save all the changes.
Modify the Approot_templat.jsp file to use Start page as your front page. You can
ignore this file if the Show Web Content property of the AppRoot node is set to “No”.
Modify the Return_templat.jsp file to create a unique looking ending page. This file
works for the Return node.
Similarly, modify the Menu_template.jsp and Form_template.jsp for Menu node and
Form node respectively.
6. Right click the project and then select Orchestration Designer > Generate Project.
Alternatively, you can make changes in the web flow editor and save.
Orchestration Designer regenerates all JSP files in the jsp folder based on the four new
template files.