Is it possible to use cf server mappings to map paths to your cfcs?

If so can someone please tell me how.  I have set up a basic mapping and
tried to call a component via the mapping and no go.  Just did not like it
at all.

Have CFC taken away the flexability to store your business logic away from
the web root?

Also i am finding that all component paths need to be called starting from
the web root.  Is this the case?

eg

http://localhost/myApp/admin/components/application/intApplication.cfc

If I am calling the intApplication.cfc file from the admin directory, I have
to call it like this

<cfscript>
        thisApp =
CreateObject("Component","myApp.admin.components.application.intApplication"
);
</cfscript>

Is this correct?

I would have thought you could call them relative as well as absolute.

Steve


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to