Work with JSP pages
To create JSP pages for WebSphere Commerce you should have Rational Application Developer skills and JSP skills. You should also be familiar with JSTL.
For background information describing how JSP pages are implemented in WebSphere Commerce read these topics:
JSP developers can create JSP pages without using the WebSphere Commerce engine, resulting in reduced development time. For more information refer to the topic, WebSphere Commerce JSP viewer.
Samples and tutorials
For many sites, development begins with modifying one of the starter stores provided with WebSphere Commerce. The starter stores include a complete set of JSP pages necessary for a fully-functional store. The JSP pages may be modified as necessary for use in the store.
In addition to the starter stores, WebSphere Commerce tutorials provide JSP code snippets and samples. JSP code snippets illustrate a specific WebSphere Commerce feature. The snippet is a Javaless JSP fragment that you can use to add functionality to a store.
- Create and registering new storefront JavaServer Pages files
To create and register a new JSPs files to display in the storefront, decide where to put the file in the store directory structure, create it, and register it in the Struts configuration file.
- Modify existing JSPs files to interact with new JSP files
Once you add a new JSP to a storefront, modify other existing storefront pages to interact with the new file. This is accomplished by creating links from existing JSP files to the new JSP file.
- Customize storefront JSP pages using the getData tag
JSP files can retrieve and display information from WebSphere Commerce services using the getData tag.
- JSP page error handling
Error handling for JSP pages can be performed in various ways.
- Add a page to the store
Use the following procedure to add a page to the store. This topic does not describe how to add additional business logic, such as extending an existing command or writing a new command.
- Assign short URLs to the storefront
Customers can quickly and access the storefront by entering a short, memorable and sensible URL.
Related concepts
Application developer information road map