Tutorials > Management Center > Support extended sites in the Recipes tool

< Previous | Next >


Modify JSP files to display the Management Center objects.

JSP files are responsible for retrieving Management Center objects by transforming nouns into XML. The Management Center uses this XML to create objects. The new objects have already been defined, now we will change the JSP files to provide corresponding XML for your objects. Serialization JSP files need to be created, to add the section to compare the object storeId with the current storeId in order to dynamically set the object type.


Procedure

Import all JSP files:

  1. In WebSphere Commerce Developer, click File > Import.

  2. In the Import window, click File System then click Next.

  3. Browse From directory to TutorialEsiteSourceCode\LOBTools\WebContent\jsp\mycompany\recipe. The Into folder is WCDE_INSTALL\workspace\LOBTools\WebContent\jsp\mycompany\recipe.

  4. Select all files in the folder.

  5. Click Finish. Click Yes to All to overwrite any existing files.

The following code samples illustrate how to support extended sites by changing JSP files.

< Previous | Next >


+

Search Tips   |   Advanced Search