Drools is a library you can use in Java applications.<br><br>You should therefore be able to reference in your Tomcat web-application by adding the necessary JARS to your WEB-INF/lib folder.<br><br>Your JSPs should then be able to create or reference a KnowledgeBase, create Sessions and perform the necessary function you describe.<br>
<br>I assume you know how to write a web application with Java.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">2011/11/11 sachintaware <span dir="ltr">&lt;<a href="mailto:sachitaware21@gmail.com">sachitaware21@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Everyone,
                     I am learning Drools engine and have come across an issue.I am not able to configure the Rules,for using it in a web application.I want a UI from which the user selects some values and based on it the rules are executed by drools.I studied the examples and got them working but they seem to be worked with standalone features.I would like to seek some help over it.

Use Case:
A html-jsp form having a select box for states of a country.
When user selects a state,candidates from that state should be displayed by the rule engine.

I have got the database connection working,but not able to configure rules over jsp.I am using a Apache tomcat 5.0 server.

Thanks
Sachin

        
<br><hr align="left" width="300">
View this message in context: <a href="http://drools.46999.n3.nabble.com/Using-Drools-with-JSP-application-tp3498955p3498955.html" target="_blank">Using Drools with JSP application.</a><br>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html" target="_blank">Drools: User forum mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>

rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>