Thanks! will let you know how it goes. I have really been seeing the usefulness of using Java with CF lately.
~~
Stephenie
>I reckon you'll be needing a Java CFX then.
>
>Seemed like a fun 5 minute project so here ya go.
>
>-
>
>import com.allaire.cfx.*;
>import java.io.*;
Tried this on CF5, and received this error:
Unhandled System exception !
Failed to create JavaVM. JNI_CreateJavaVM returned error code JNI_ERR (this may indicate an unrecognized option string)
which comes from line:
action="">
any ideas?
BTW, using cffile in CFMX to read the file works great,
nice idea, but no love.
thanks!
Stephenie
>If you're still having trouble, instead of CFFILE, try this
>
>
>
>
>
>Now parse your file.
>
>H.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
yes it is cf 5.
i suspect you may be right. will try some tweaking as soon as i kick this flu.
thanks!
steph
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Is this CF 5 or earlier?
If so, it is probably actually a NULL chr(0) character.
Notepad will get rid of it when you open and save the file.
CF 5 and earlier have trouble with strings containing NULLs, since it uses NULLs to mark the end of strings (I think).
The data is still in the string, bu
This sounds line an end -f line or carriage return character (or both)
Do a replace of each [chr(10) & chr(13); replace with white space or some marker for your illumination "~~~" or whatever ] in the variable and see if that helps.
Are you SURE it's not in the database, as well? Just kicked down
If i open the file in notepad, then save it (without making any changes) it works fine. h...wonder how/if i can use cfexecute to have notepad open the file and then save it?
other than that, i can't think of anything else...
Steph
[Todays Threads]
[This Message]
[Subscription]
[Fast Un
it does not display the whole file. it stops when it gets to the little square on the first line. i can't even get to the part of inserting into db because i get only part of the first line.
Stephenie
>if you output the content of the file in your cf template (prior to db
>insert) does it disp
8 matches
Mail list logo