I'm having a little trouble making sense of this problem and hope 
someone can give me some insight.

I'm using this upload tool called RAD Upload. It's a java app and is 
pretty slick. http://radinks.com/upload/

The java app that runs as an applet calls an action page when the 
upload is done. I've got a very simple script in there that I hope to 
loop through the files uploaded.

However, I'm having trouble even getting CF to recognize the files 
themselves. At the moment I'm doing a CFDUMP just to see what the app 
provides the action page, and for the life of me ... Is it possible 
that I am accessing the variables incorrectly since it's a java 
application handing me the data?

Here's the CF code, just for debugging purposes to make sure I can 
access what was uploaded:

         <cfdump var="#form#">
         <p>form.USERFILE_PARENT = #form.USERFILE_PARENT#</p>
         <p>form.USERFILE[0] = #form.USERFILE[0]#</p>

and here's the output:

struct

FIELDNAMES
USERFILE_PARENT,USERFILE[0],USERFILE[1]

USERFILE[0]
C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp5651.tmp

USERFILE[1]
C:\CFusionMX7\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\neotmp5652.tmp

USERFILE_PARENT
C:/Documents and Settings/Michael/Desktop


form.USERFILE_PARENT = C:/Documents and Settings/Michael/Desktop
form.USERFILE[0] =


Error Occurred While Processing Request
Element USERFILE is undefined in a Java object of type class 
[Ljava.lang.String; referenced as


The error occurred in D:\Inetpub\DevCode\rad\test2.cfm: line 5
3 :     <cfdump var="#form#">4 :        <p>form.USERFILE_PARENT = 
#form.USERFILE_PARENT#</p>5 :         <p>form.USERFILE[0] = 
#form.USERFILE[0]#</p>6 : 7 :     <cfloop from="0" to="9999" index="ii">

Please try the following:
Check the ColdFusion documentation to verify that you are using the 
correct syntax.
Search the Knowledge Base to find a solution to your problem.

Browser

Remote Address
141.154.156.18
Referrer

Date/Time
16-Nov-05 09:29 PM
Stack Trace
at cftest22ecfm1852452691.runPage(D:\Inetpub\DevCode\rad\test2.cfm:5) > >
coldfusion.runtime.UndefinedElementException:
Element USERFILE is undefined in a Java object of type class 
[Ljava.lang.String; referenced as
at 
coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1054)
at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1031)
at cftest22ecfm1852452691.runPage(D:\Inetpub\DevCode\rad\test2.cfm:5)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
 

at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
 

at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457) 

at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295) 

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


--------
Michael Muller
Admin, MontagueMA.net Website
Montague, MA 01351
cell (413) 320-5336
fax (518) 713-1569
skype: michaelBmuller
email [EMAIL PROTECTED]
http://www.MontagueMA.net

Eschew Obfuscation



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224465
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to