The Oracle ATG Web Commerce platform includes a sample Web application that demonstrates search query options. You can use the application for submitting test queries, or use the JSPs as starting points for building your own search pages.

To run the sample application, you need to assemble an EAR file that includes the DAF.Search.Base.QueryConsole module, and deploy this application on your application server. You can then access the application at:

http://hostname:port/atg/qc

See the ATG Installation and Configuration Guide for more information about the port number to use. For information about assembling applications, see the ATG Platform Programming Guide.

Once the application is open in your browser, click the link for one of the query types. This opens a page that contains a form for constructing a query of that type. Fill in the form, and then click the Search button. The results of the search are displayed at the bottom of the page.

Note that neither the search forms nor the result displays are intended to be realistic examples of how you would use the form handlers on an actual site. The forms enable you set search attributes that are rarely set by individual queries. In addition, the forms allow you to set attributes directly that would typically be determined by logic implemented in the page or in methods of the form handler itself. For the results, each page simply displays a table of the fields of the results object and their values. On an actual site, the results would typically be displayed in a more usable (and selective) format.