hi,

Learning about clips and jess in AI class; wrote a
little program in clips i am able to to run it in the
java console in jess5.1. 

Beginning to think about how to convert into web app
using servlets and jsps. I have skimmed the jess
manual and this mailing list.  Still have some basic
questions:

I want to test with a simple servlet, eg.

SimpleServlet extends HttpServlet implements
SingleThreadModel.

I can load my clp file using eg:  Rete r;
then reset and run

r.executeCommand("(batch......"));
assuming I have (reset) and (run) in my clp file.

i noticed that jess.Main.execute uses jesp and blocks
on read from standard input, how can I implement the
same interactivity with a servlet, that is, not using
stdin? I want to start up rete let it run get some
input from jsps; assert some facts then I think I have
to do another (reset) and (run).



m_j.parse(doPrompt && m_readStdin);

thanks

eric
[EMAIL PROTECTED]





__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to