Applying HTML changes to JSP files
After a web designer changes the static HTML files, a store developer can determine the JSP files that dynamically render the different areas on specific pages in a storefront. The highlight feature, one of the tools that are provided with the assets, is used to identify the JSP files that make up the page you are on. It marks off each area of the page that a JSP file represents and shows the file name in the upper left corner.
Procedure
- If you changed the CSS and image directories
in the static HTML assets, make the necessary updates.
- Browse to the HTML assets directory. Copy the CSS and image directories into the WC_installdir\workspace\Stores\WebContent\storedir directory.
- Packaging Java EE assets for a partial application
- Use the highlight feature to determine which JSP files
to update with the changes to the static HTML files. Proceed to edit
the JSP files that were identified.
- Review the list of files you made during step 1 and open one of the static HTML pages that changed.
- Press Ctrl+Alt+h to use the highlight feature. The highlight feature outlines each page fragment, and in the upper left corner, displays the name of the JSP file that it represents.
- Note the name of the JSP file to change.
- Open the JSP file in your WebSphere Commerce and incorporate the changes that you noted in step 1.
- Save the JSP file.
- Open the storefront URL and browse the pages that you modified to verify that the changes were successful.