For Programmers: Free Programming Magazines  


Home > Archive > Java Help > February 2007 > Java Applet Read/Write Etc..









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Java Applet Read/Write Etc..
Kavok

2007-02-20, 7:07 pm

Hi. I've got a java applet that needs to edit an XML file with data
captured via GET by javascript and then retrieved via getParameter()
etc..

The platform is a local only machine running Firefox 1, Java 1.5,
custom build of Linux.
The machine doesn't connect to any server, is not running apache and
so fourth.

The problem im running into is when my applet tries to overwrite the
currently existing file (works in XP) it crashes Firefox and doesn't
write the file.

Is there anyway that I can overwrite / delete a currently existing
file using a java applet?

Andrew Thompson

2007-02-20, 7:07 pm

On Feb 21, 1:34 am, "Kavok" <cjc.br...@gmail.com> wrote:
> Hi. I've got a java applet that needs to edit an XML file ..


Please cross-post, rather than multi-post.

(X-post to c.l.j.p./h., w/ f-u to c.l.j.h. only)

Andrew T.

Joshua Cranmer

2007-02-28, 7:11 pm

Kavok wrote:
> Hi. I've got a java applet that needs to edit an XML file with data
> captured via GET by javascript and then retrieved via getParameter()
> etc..
>
> The platform is a local only machine running Firefox 1, Java 1.5,
> custom build of Linux.
> The machine doesn't connect to any server, is not running apache and
> so fourth.
>
> The problem im running into is when my applet tries to overwrite the
> currently existing file (works in XP) it crashes Firefox and doesn't
> write the file.
>
> Is there anyway that I can overwrite / delete a currently existing
> file using a java applet?
>


Where is the file located? Applets have restricted file access.
Andrew Thompson

2007-02-28, 7:11 pm

On Mar 1, 10:46 am, Joshua Cranmer <Pidgeo...@epenguin.zzn.com> wrote:
...
> Where is the file located?


Where is 'the' discussion thread located?
(This is a hint, based on the multi-post)

Andrew T.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com