I need to either rewrite some functions into cf (see my asp conversion thread) 
or include a jsp file and call 2 functions in there. To the latter:

1) the jsp file has at the top "<%@ page import = "java.sql.*, java.util.*, 
java.util.zip.*" %>" followed by 2 functions.

Is that a problem? Are those special classes or regular ones the shared cf7 
server will have already?

2) how do I call the 2 functions in the jsp page? I know I can use a

 GetPageContext().include("hello.jsp?name=Bobby");

style but I don't need to include url variables, I need to call the functions 
there. How exactly do I call them???

Or I also found this example:

<!--- import the custom tag library so that this template can see it --->
<CFIMPORT taglib = "/WEB-INF/lib/random.jar" prefix="myrand">

<!--- execute a custom tag from this library --->
<myrand:number id="randpass" range="000000 - 999999"
algorithm="SHA1PRNG" provider="SUN"/>

But does that mean I must make the jsp page into a jar and put in that location?

And how exactly to I call the function and plunk down the returned value in my 
cf code? (For example, the result of the above example, I just use #randpass# 
afterwards?)

Finally, if I get this working (with your help), will it be slow for any reason?

Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241780
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to