I recently posted a thread about converting a PHP script provided my
my merchant account to CFML. I also noticed that my merchant has the
same script as a JSP file and figured it would be easier to include
the JSP page within my CFML page. However, my attempts have failed.
Here is what I've tried using both ColdFusion and BlueDragon 6.2 JX:
METHOD 1
<cfscript>
GetPageContext().include("HOP.jsp");
</cfscript>
<cfoutput>#insertSignature("10.00","USD")#</cfoutput>
METHOD 2
<cfscript>
GetPageContext().include("HOP.jsp");
insertSignature("10.00","USD");
</cfscript>
With BlueDragon, I should even be able to just do a simple cfinclude.
However, in both ColdFusion and BlueDragon neither of these methods
are working. I have posted a thread to the BlueDragon Mailing list but
am not getting any help (perhaps because it is not a support request
or sales inquiry, I don't know).
When I try method 1 or 2 in ColdFusion I get this error:
Translator.WrongCase/whmedia/HOP.jspwhmediaWHMedia
When I try method 1 or 2 in BlueDragon I get an error stating that the
function InsertSignature does not exist. However, InsertSignature() is
a funciton within the JSP page that I am including.
I have attached the JSP page that was provided by my merchant gateway.
I've noticed that what looks like functions to me do not have the
function keyword before the "function" name. I don't know enough about
Java or JSP to tell...
Thanks for the help,
Aaron
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4