Article View: borland.public.jbuilder.java.language
Article #17852Re: URGENT: Getting File Size
From: Richard Wilkman
Date: Fri, 11 Sep 1998 00:00
Date: Fri, 11 Sep 1998 00:00
63 lines
3178 bytes
3178 bytes
Jason: Thanks for the compliment -- just call me Rich, though. Applets can do very little. They can read, but not write files by default, and the files have to live on the server that the applet came from. That's part of the security model and that's very good. If you need to write data back, reconsider doing Applets or be prepared to dig in for some painful experiences that have nothing to do with Java and everything to do with the browser wars. Poke around http://www.got.net/~rwilkman/java you might find some info there you'll like. I think under Applet Basics I have the link to my BorCon talk on "why you shouldn't be writing applets in the first place". An example of an Applet that reads datafiles from the server can be found at: http://www.got.net/~rwilkman/weather -Rich Jason Terando wrote: > > Thanks for your reply, Richard. IMHO - Inprise owes a large part of any > success it has with JBuilder to your efforts in supplmenting the horrible > documentation fed to developers by Sun and Inprise. In regards to your > reply... > > > Make a new File object from a string that points to the file (it has > > to be on the server). > > I'm making a client side applet (a server side applet wouldn't be worth the > trouble). What I wanted to do was to poll a file that was being appended to > periodically and display the new information. I have a feeling I will not be > able to do this. Is it me, or should reading a file from a server not require > a specialized server application?Which, of course, brings us back to the "How > can I make an applet that actually do anything useful, besides display LED > signs and play hangman?" problem. Regardless of assertions to the contrary, > much of the appeal of Java was to get around the whole browser-specific > plug-in thing, creating simple yet useful applications (applets?) that did not > need to be distributed and that were platform neutral. > > Oh well, 'nuff venting... > Sincerely, though, thanks for the help you've given me, and others, in getting > as far as we have. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<35F94BF6.183D8FCA@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35F6ECF5.B923ADE3@eatme.com> <35F71F70.A98005B0@inprise.com> <35F859CB.B6196AD5@eatme.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,457e428e79cd68b2 X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: URGENT: Getting File Size Date: 1998/09/11 Message-ID: <35F94BF6.183D8FCA@inprise.com> X-Deja-AN: 390153253 Content-Transfer-Encoding: 7bit References: <35F6ECF5.B923ADE3@eatme.com> <35F71F70.A98005B0@inprise.com> <35F859CB.B6196AD5@eatme.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language