Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

call Jboss rule from jsp or java servlet

 
Johan voxy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Johan, welcome to Java Ranch!

Please use code tags, it makes source code much easier to read.
 
Johan voxy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic