-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4015999
By: nobody
Hi,
I was wondering how you can pass variables from zscript to jsp. The reason I want to do this is that I have java backend code that currently interacts with JSP pages through javascript. I would like to rewrite the javascript interaction with the backend with zk listeners. I think I can connect with the java backend with just the zscript since the language used there is Java.
But, how would I communicate with the JSP code? The JSP code would need to stay as it uses struts. Thanks.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4016463
By: henrichen
The zscript run on the server side so they are running in the same Java VM.
Theoretically, you can call any methods of your original codes. The only issue is that if you need to get reference to some existing objects, you need to provide a mechanism to do that.
Basically, you can think that you are writing a Java program. All classes you can access to.
/henri
Asked: 2006-11-16 21:05:39 +0800
Seen: 414 times
Last updated: Nov 17 '06