Hi,

Jess works fine on my Mac OS X machine, but I don't get the tekmart example to work (chapter 19).
Tomcat is set up and the pages, INDEX, CATALOG, PURCHASE work well,
but I don't get the RECOMMEND page.

I guess this condition in the Recommend.java file returns FALSE (and so the purchase page without the recommend page):

engine.run();
Iterator result =

engine.runQuery("recommendations-for-order",

new ValueVector().add(orderNumberValue));

if (result.hasNext()) {

request.setAttribute("queryResult", result);
dispatch(request, response, "/recommend.jsp");
} else
dispatch(request, response, "/purchase");

Page 346 in the book (chapter 19.10.4)

Any hints why the "recommendations-for-order"-query is empty ???

Thanks Bernhard

Reply via email to