First you need to create a .jsp file in WebApplication and deploy it in WAS.
Create a JSP component as follows:
Name: JSP-Component
Path: /wcmcustomwebapp;/jsps/sample.jsp
Save and preview it.
Here are the some of the book recommendations :
Create a JSP component as follows:
Name: JSP-Component
Path: /wcmcustomwebapp;/jsps/sample.jsp
Save and preview it.