File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes call Jboss rule from jsp or java servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "call Jboss rule from jsp or java servlet" Watch "call Jboss rule from jsp or java servlet" New topic
Author

call Jboss rule from jsp or java servlet

Johan voxy
Greenhorn

Joined: Apr 07, 2010
Posts: 2
Hi guys,

I am trying to create a web page with a form, so when we click on submit, we are redirected to the result web page, but the content of this page will be generated according to the rules i created in my drl file. Does anyone knows the easiest way to do this? are they a way to call the drl file from the jsp file, or the servlet file?

For now, i created a very simple form i put in my index.jsp file :



And a java servlet file :





But i would like to add a drl rule's file as:





so i could decide using the rules what page or what content display.

Any idea?
thanks for any answer
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Johan, welcome to Java Ranch!

Please use code tags, it makes source code much easier to read.


JBoss In Action
Johan voxy
Greenhorn

Joined: Apr 07, 2010
Posts: 2
Hi Peter,
good to see you there. As you can see I'm still looking for answers to achieve my project.
Are my codes readable now? (actually, i didn't change anything, but they already seems to have code tags)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: call Jboss rule from jsp or java servlet