从applet中读取文本文件 [英] read a text file from an applet

查看:79
本文介绍了从applet中读取文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难从applet打开文本文件。我记得在一两次尝试之后,这里有明显的安全问题,所以我切换代码从互联网上取出一个文本文件,显然有一些命名或参考问题让我无法理解。这是我的代码:

展开 | 选择 | Wrap | 行号

解决方案

删除this在第49行,你有this.page ...



删除this在第49行,你有this.page ...



感谢您的关注,但这是我尝试过的第一件事,它并没有改变错误。

展开 | 选择 | Wrap | 行号


您的错误在这里:

展开 | 选择 | Wrap | 行号小号

I am having a hard time opening a text file from an applet. I remembered after an attempt or two that there were obvious security issues here, so I switched the code to pull a text file off the internet, and there is obviously some naming or reference issue that I can''t get my head around. Here is my code:

Expand|Select|Wrap|Line Numbers

解决方案

Remove the "this" on line 49 where you have this.page ...


Remove the "this" on line 49 where you have this.page ...

Thanks for your attention, but that was one of the first things I tried and it doesn''t change the error.

Expand|Select|Wrap|Line Numbers


Your error is here:

Expand|Select|Wrap|Line Numbers


这篇关于从applet中读取文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆