Re: [rules-users] Using Drools with JSP application.

2011-11-14 Thread sachintaware
Hi Mike

Waiting to hear from you.I am stuck a bit on these issue.

Please point me to some example,for drools integrated with a simple jsp
web-application(even standalone will do.).
I want to display the result of rules on some UI(A web console,like
Html-jsp).Is it possible?If yes,how??

Thanks and Regards
Sachin

--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-Drools-with-JSP-application-tp3498955p3506664.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Using Drools with JSP application.

2011-11-11 Thread sachintaware
Thanks a lot for your help Mike!!! :)
Hopefully  I will get it working this way!!!

Regards
Sachin

--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-Drools-with-JSP-application-tp3498955p3499132.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Using Drools with JSP application.

2011-11-11 Thread sachintaware
Hello
 I have created a project as per the instructions Mike but,I am not sure
how to move fwd in writing rules in the jsp and the location of the drl
files as I am constantly getting errors.

I am attaching a image of my eclipse project structure if you can just point
at the folders where I can add the drl's.Also,how can I create a session in
the jsp(a small piece for a hello world program,so that I can move along the
same lines) .
http://drools.46999.n3.nabble.com/file/n3501858/eclipse.bmp 

Thanks and Regards
Sachin 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-Drools-with-JSP-application-tp3498955p3501858.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Using Drools with JSP application.

2011-11-10 Thread sachintaware
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


--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-Drools-with-JSP-application-tp3498955p3498955.html
Sent from the Drools: User forum mailing list archive at Nabble.com.___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Using Drools with JSP application.

2011-11-10 Thread sachintaware
Thank you for the prompt response Mike :)

What I get by you say is that I should create a Web-Application project in
eclipse and not a Drools project(What traditionally examples show in the
documentation) and import the necessary JAR'S from the Drools
directory(Drools expert directory downloaded).br/

This should allow me to create the .DRL files writing rules and creating
knowledge sessions using the jsp files that are created the projects.br/

What I tried was creating a drools project and replacing the .java files
with .jsp which certainly wont work!! :(

*My Use Case:* br/

Creating a UI with a Select box which will have States of a country.
When a user selects a state a rule from should display the candidates/users
belonging to that state on the UI.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Using-Drools-with-JSP-application-tp3498955p3499025.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users