aspose 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
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Reply 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: 5575

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: call Jboss rule from jsp or java servlet
 
Similar Threads
include directive doesn't work
problem inserting data into MS Access
senRedirect how to diferntiate in the different jsp file?
always print old session
Session tracking with URL rewriting