cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: linux file process problem
Date Sun, 23 Apr 2000 13:15:40 GMT
You are posting your message to the wrong mailing list. Cocoon is not for 
running servlets, so it cannot be a problem in Cocoon.

>From: JackWang <jack.w@pub.wx.jsinfo.net>
>Reply-To: jack.w@pub.wx.jsinfo.net
>To: "cocoon-dev@xml.apache.org" <cocoon-dev@xml.apache.org>
>Subject: linux file process problem
>Date: Sun, 23 Apr 2000 18:38:11 +0800
>MIME-Version: 1.0
>Received: from [63.211.145.10] by hotmail.com (3.2) with ESMTP id 
>MHotMailBACC1E9B008AD82197BC3FD3910A0AF30; Sun Apr 23 03:42:35 2000
>Received: (qmail 81303 invoked by uid 500); 23 Apr 2000 10:42:31 -0000
>Received: (qmail 81292 invoked from network); 23 Apr 2000 10:42:27 -0000
>From cocoon-dev-return-3976-greenrd Sun Apr 23 03:46:07 2000
>Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm
>Precedence: bulk
>X-No-Archive: yes
>list-help: <mailto:cocoon-dev-help@xml.apache.org>
>list-unsubscribe: <mailto:cocoon-dev-unsubscribe@xml.apache.org>
>list-post: <mailto:cocoon-dev@xml.apache.org>
>Delivered-To: mailing list cocoon-dev@xml.apache.org
>Message-Id: <200004231038.SAA19232@mail.jingqi.com>
>X-mailer: FoxMail 3.0 beta 2 [cn]
>X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
>
>I have a simple servlet, used to test the file's process in
>linux. I met exception problem.
>
>The main part in testfile.java is
>"
>	String realpath = req.getRealPath("/");
>         out.println ("realpath= "+ realpath);
>	try
>	{
>//	DataOutputStream dos =new DataOutputStream(new FileOutputStream(new 
>//File(realpath+ "data/test/" + "test.dat")));
>	DataOutputStream dos =new DataOutputStream(new FileOutputStream(new 
>File("test.dat")));
>	dos.writeInt(100);
>	dos.close();
>	}
>	catch(IOException e)
>		{
>		out.println ("exception occured." );
>		}
>"
>This can be done in JRUN with win32.
>
>Why?
>
>Please help me.
>
>
> 00-4-22  03:41:00 д
> >Stefano Mazzocchi wrote:
> >
> >> I'm going up to the alps for ester vacation with my girlfriend to relax
> >> and come up with brilliant new ideas for Cocoon. In fact, that is the
> >> place where Cocoon was invented :)
> >
> >And he will return with "Species" or "Aliens"   ;o)
>
>
>WangJun
>
>System Analyst
>Senior Technic Supporter
>___________________________________________________________________
>
>Beijing Jingqi Xishu E-business Ltd.
>
>MAIL:jackwang@jingqi.com
>URL: http://www.jingqi.com
>TEL: (010)67082700 - 203
>      (010)67082703 - 203
>FAX: (010)67082705
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message