-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
I have two projects put on tomcat, path like below,
/tomcat/webapps/projectA/index.zul
/tomcat/webapps/projectB/index.zul
Could I pass parameter from projectA to projectB ?
Thanx.
There are many ways of communication between to applications (e.g. JMS, sending a request to a servlet in the other application).
Or simply calling the index page of the other application with a parameter in the URL http://myserver/projectB/index.zul?param=abc
then read the parameter from the execution:
Execution exec = Executions.getCurrent();
String param=exec.getParameter("param"); //will give "abc"
So there is always a way just depends on when you want to send something, and what you want to send.
Asked: 2015-03-05 12:35:43 +0800
Seen: 16 times
Last updated: Mar 06 '15
sendRedirect hide URL [closed]
Timeout on timeOut on....... [closed]
redirection without "server processing page"
Executions.SendRedirect in the @Init [closed]
How to access attribute of servlet context in zk application ?
How to open new tab in SelectorComposer?
execution.sendRedirect not working in IE9 & IE8
One option via database . If two different two database, then using triggers
Senthilchettyin ( 2015-03-05 16:43:54 +0800 )editThank you.
unitcell ( 2015-03-06 04:41:32 +0800 )edit