cancel
Showing results for 
Search instead for 
Did you mean: 

Using JSP to submit the form data to Activiti engine

vamsi25
Champ in-the-making
Champ in-the-making
Hi All,

I need help in Designing process using eclipse plugin designer for the Activiti and deploy the process in to workflow server. Designing own UI using JSP to submit the form data and approver should get notification of the form data submission and when he logged into the console he should able to see the pending process .
What are the cofigurations that needs to be done.I have Activiti server running on other machine and i want my UI in localhost to interact with that.

Thanks & Regards
11 REPLIES 11

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
There is no special configuration needed, just implement your jsp's, controllers and in you controller access the activiti api…

vamsi25
Champ in-the-making
Champ in-the-making
There is no special configuration needed, just implement your jsp's, controllers and in you controller access the activiti api…


Hi Thanks for the reply.I have my activiti engine setup in some other server and we are using mssql server and iam developing my UI using struts/jsp in localhost.
so how do i connect my application to engine running in other server.
Can we have our own form properties in jsp.Please provide one example with UI in jsp which calls the process.

Thanks & Regards

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Use rest, write an ejb wrapper around the api and use that, write a webservice layer, just like you would do for any other remote invocation.

prakash1
Champ in-the-making
Champ in-the-making
Hi,
As per the instruction here, I have created my own jsp file. I am using Tomcat server here. When I am executing that jsp file by "Run on Server" option, I found that the activiti  login page is opening. After I put the kermit/kermit as username and password, my jsp is not displaying. The default kermit interface is displaying.

Please help me in this regards, how to execute my jsp page expecpt the kermit's default page.

-Prakash



trademak
Star Contributor
Star Contributor
Really, I can't answer this with the information you are providing. It seems like your JSP application is not implemented correctly, but it's not possible to see anything useful based on the information provided.

prakash1
Champ in-the-making
Champ in-the-making
Hi Trademak, Thanks for your reply. I have one simple jsp page without any critical code. I want to execute a simple jsp page and if that works properly then I can put the code based on my requirements. But that simple jsp  page is not working from activiti project.

Same jsp page is working when I put that same file in another web project. Please guide me the procedure how to execute one jsp page from activiti project.

prakash1
Champ in-the-making
Champ in-the-making
Anyone have any updates on this.

prakash1
Champ in-the-making
Champ in-the-making
Anyone have any updates on this.

frederikherema1
Star Contributor
Star Contributor
This is not java 101.. Adding code to a JSP that calls Acitviti is the same as you would do it if you call your own code. Please do some additional research yourself. The forum is intended for Activiti-issues and IMHO, this is not one you'll get a lot of help with.