If you're requesting a CFC directly from the client, it has to be exposed on
the web root just like any other file, because the web server (Apache, IIS,
whatever) has to do the translation from URL to filesystem path, and it has
no knowledge of the internal CF mappings.

Cheers,
barneyb

> -----Original Message-----
> From: Angel Stewart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 03, 2003 1:16 PM
> To: CF-Talk
> Subject: Calling CFCs directly from Form Action attribute.
>
> Hello all,
>  
> i am trying to write a modular application using .cfcs.
> I'm now trying to use a .cfc to handle a data input/edit/delete series
> of actions, direct from a form.
>  
> i.e. I have <form name="Userdetail" action=""> > METHOD="POST"> .
>  
> However, this looks for heldesk_user.cfc in the current
> directory on the
> server, it doesn't search for it from the base server custom tags
> directory.
> Is there any syntax that would permit a search from the server itself?
>  
> This is a multihomed webserver. I was just checking through both
> Programming CFMX and CFMX Bible for answers but haven't found any.
>  
> I am left with the impression though that I would need to use these
> .cfcs included under a seperate subdirectory. amd not off the
> customtags
> directory??
>  
> -Gel
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.544 / Virus Database: 338 - Release Date: 11/25/2003
>  
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to