Hi Having an issue changing a jsp to cfm template...
jsp version : <%@ page import="org.maccarthy.store.ItemService" %> <%@ page import="java.util.List" %> <% List itemList = ItemService.getInstance().getItemList(); %> works fine within CFMX
cfmx version
service = createobject("java","org.maccarthy.store.ItemService");
itemList = createobject("java","java.util.List");
itemList = service.getInstance().getItemList();
the last line here causes cfmx to respond with <> 500 null
try {
service = createobject("java","org.maccarthy.store.ItemService");
itemList = createobject("java","java.util.List");
itemList = service.getInstance().getItemList();
}
catch(Any excpt)
{
WriteOutput("#excpt.Message#<br>");
WriteOutput("#getException(service)#");
}doesn't help either. Any ideas?? Is the only way to get a stack trace is to tail the logs file?
Justin
-- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by
activepdf.com*
*Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
*Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*To unsubscribe, e-mail: [EMAIL PROTECTED]
