If you look in your web.xml file (on a Mulit-server install it's
"<cfroot>/
servers\instance_name\cfusion-ear\cfusion-war\WEB-INF\web.xml" you will
see the following servlet mapping:

<servlet-mapping id="coldfusion_mapping_14">
  <servlet-name>CFFileServlet</servlet-name> 
  <url-pattern>/CFFileServlet/*</url-pattern> 
 </servlet-mapping>

The url pattern tells JRUN that any request that comes through that
looks like www.your-server.com/CFFileServlet/* will be handled by the
CFFileServlet.  

Elsewhere in your web.xml is the following:
<servlet>
  <servlet-name>CFFileServlet</servlet-name> 
  <display-name>Serves files for cfpresentation,cfreport,captcha
etc</display-name> 
  <servlet-class>coldfusion.bootstrap.BootstrapServlet</servlet-class> 
 <init-param>
  <param-name>servlet.class</param-name> 
  <param-value>coldfusion.util.CFFileServlet</param-value> 
  </init-param>
</servlet>

This defines what Class is used to process that request.  My assumption
is the file is probably stored in memory and then spit out with the
appropriate content type header when your browser asks for the image.

That might be more info that you cared to know, but I thought that was
pretty dang cool once I realized how ColdFusion processes your
requests... especially requests for non-existent folders.

~Brad

> If so, after the image is displayed in the web browser, by 
> viewing the properties of the image, it is shown as:
> /CFFileServlet/_cf_image/_cfimg[xxxxxx]
> 
That URL pattern doesn't point to an actual physical filesystem
location.
That said, I don't know if there's a file being written somewhere or
not.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307417
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to