Sun Java System Portal Server 7.1 Developer Sample Guide

Editing the Developer Sample Portal Files

Do not directly edit any of the files that make up the sample portal (display profile XML, JSP, and template files). Instead, make a copy of the sample portal files to modify to a new directory and then modify those copied files. In this way you preserve the integrity of the sample portal. Additionally, if you later apply a patch to the Portal Server, you won’t loose any changes you might have made to the sample portal files, as the patch would only overwrite the initially installed sample files.