cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick <goup...@muss.cis.mcmaster.ca>
Subject Re: java
Date Thu, 12 Aug 2004 13:09:14 GMT
Hi Jones,

You can import Java classes into flowscript by calling:

	importClass(Some.Class.Name);

And then use it in the flow as any ususual:

	var someVar = new Name();

Best regards,

ng.

Jones A wrote:

> Can i have this in a flowscript: import java.io.*; String str= 
> "welcome"; if (str!=null) System.out.println("Match"); ............. 
> ............. Or in other words is it possible to have pure java code 
> and call it from sitemap? 
> <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@Bottom>

> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message