[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 t

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

2011-11-10 Thread Michael Anstis
Drools is a library you can use in Java applications. You should therefore be able to reference in your Tomcat web-application by adding the necessary JARS to your WEB-INF/lib folder. Your JSPs should then be able to create or reference a KnowledgeBase, create Sessions and perform the necessary f

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).

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

2011-11-11 Thread Michael Anstis
Yes you are correct. On 11 November 2011 07:51, sachintaware wrote: > 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 th

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. _

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

2011-11-11 Thread sachintaware
Hello Mike I just created a dynamic web project in my eclipse IDE and configured it on the tomcat server imported the drools jars in the BUILD path of the project,but I wanted to know will the folder structure for the rules file be same??? It is *src->main->rules->*.drl *in the other applications

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

2011-11-11 Thread Michael Anstis
That's entirely up to you. You'll need the DRLs to be on the server classpath for the application. There are different ways this can be achieved. Normally, you'd add a folder to the source of the Java Build path, then the DRLs will be in the web applications WEB-INF\classes folder. On 11 Novembe

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 ca

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 an

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

2011-11-14 Thread Swindells, Thomas
] On Behalf Of sachintaware > Sent: 14 November 2011 12:17 > To: rules-users@lists.jboss.org > Subject: Re: [rules-users] Using Drools with JSP application. > > Hi Mike > > Waiting to hear from you.I am stuck a bit on these issue. > > Please point me to some example,for drools integ

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

2011-11-14 Thread sachintaware
Hello Hi Thomas,thanks for the explanation,but I am not that a good java developer to work it out based on the theoretical explanation.That's the reason I asked for examples. I think I will have to stop as I am really getting stuck at this and spending more time then it should be. Anyways,thanks