JSP code snippet: SecureThreeDCacheDisplay.jsp
This JSP code snippet displays the SecureThreeDCacheCmd refresh link (such as 'stop', 'start', 'update', 'reset' button). Note that the function of caching of card range is not currently supported.
Usage
- This snippet...
- WC_INSTALL/samples/Snippets/web/Order/Secure3d/SecureThreeDCacheDisplay.jsp
- WCDE_INSTALL\samples\Snippets\web\Order\Secure3d\SecureThreeDCacheDisplay.jsp
Copy it to the Snippets/Order/Secure3d/ directory under your store directory.
- To display this feature in the store, you need to either:
- Create a JSP file based on this code snippet
- Use the sample wrapper JSP file named SecureThreeDCacheDisplay.jsp and customize it as described in the comments. The sample wrapper JSP is available under samples/JSPs/web/Order/Secure3d/ directory.
- To include this snippet in the wrapper JSP file, use the following statement:
<c:import url="Snippets/Order/Secure3d/SecureThreeDCacheDisplay.jsp" />
The path in this statement is the relative path of the snippet file to the store directory.
Test
- To test this snippet, copy the sample wrapper JSP file to your store directory, from
samples/JSPs/web/Order/Secure3d/
to
WC_EAR/Stores.war/ storedir/
- Copy the appropriate snippet file from
samples/Snippets/web/Order/Secure3d/
to
WC_EAR/Stores.war/ storedir/Snippets/Order/Secure3d/
- Copy the required properties files from
samples/Snippets/properties/Order/Secure3d/
to
WC_EAR/Stores.war/WEB-INF/classes/store_dir/Snippets/Order/Secure3d/
Related information
Tutorial: Customizing the consumer direct sample store using snippets