Article View: borland.public.jbuilder.java.api
Article #1251Re: How to get content of a text file from client post by web page
From: Joi Ellis [TeamB]
Date: Wed, 17 Apr 2002 12:01
Date: Wed, 17 Apr 2002 12:01
31 lines
2303 bytes
2303 bytes
In borland.public.jbuilder.java.api Angry Orca <luke@email.newpalm.com> wrote: > "Joi Ellis [TeamB]" <joi@aravox.com> ??????:3cbbf40b_1@dnews... >> > inputstream!! What should I do?? >> >> I think they mean that you have a request object, and you do something > like >> >> BufferedReader myfile = request.getReader(); >> or >> ServletInputStream myfile = request.getInputStream(); >> >> depending upon the type of data you expect to be receiving. > Hi, Mr. Ellis: > Yes, that is what I want to do. > The problem is the " BufferedReader myfile = request.getReader(); " does not > work. It would call a null pointer exception because the object myfile has > not been constructed. But I donot know how I can construct it. :( > Thanks. I don't understand what you're trying to do. -- Joi Ellis (TeamB) http://www.teamb.com/ No direct email, please. For best results, post on news server newsgroups.borland.com! Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID:
<3cbd6403_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mailReferences:
<3cbbece2_1@dnews> <3cbbf40b_1@dnews> <3cbcedfc_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6b7f0acc204b911f
X-Google-Attributes: gidf74b3,public
X-Google-Thread: 1089d0,6b7f0acc204b911f
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-04-17 05:07:46 PST
Sender: Joi Ellis <joi@artoo.gyles19.visi.com>
Message-ID: <3cbd6403_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: How to get content of a text file from client post by web page
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language
References: <3cbbece2_1@dnews> <3cbbf40b_1@dnews> <3cbcedfc_2@dnews>
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 209.98.6.107
Date: 17 Apr 2002 05:01:08 -0700
X-Trace: dnews 1019044868 209.98.6.107 (17 Apr 2002 05:01:08 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail