Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 11204 invoked from network); 29 Apr 2008 17:56:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 17:56:24 -0000 Received: (qmail 78551 invoked by uid 500); 29 Apr 2008 17:56:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78530 invoked by uid 500); 29 Apr 2008 17:56:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 78519 invoked by uid 99); 29 Apr 2008 17:56:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 10:56:13 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dns4@cornell.edu designates 128.253.83.142 as permitted sender) Received: from [128.253.83.142] (HELO authusersmtp.mail.cornell.edu) (128.253.83.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 17:55:26 +0000 Received: from atlantis.calsnet.cornell.edu (atlantis.calsnet.cornell.edu [128.253.209.216]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id m3THtdEV008418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 29 Apr 2008 13:55:39 -0400 (EDT) Message-ID: <48176023.2080707@cornell.edu> Date: Tue, 29 Apr 2008 13:51:31 -0400 From: David Smith User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: access files from jsp References: <841983.99471.qm@web25014.mail.ukl.yahoo.com> In-Reply-To: <841983.99471.qm@web25014.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Here's the picture you painted in the original email and I based my answer on: 1. You have a jsp file on a tomcat server which needs to read information from a remote system 2. The system containing the remote file has a webserver you could put the file in. The c:import tag is a java standard tag library (JSTL) tag used to import data form locations outside the jsp. In this case, I'm saying you could request the file from the remote webserver. Google is your friend if you'd like more information. If I've misunderstood your environment, please provide a *lot* more detail -- specifically more information regarding the system the remote file reside's on (does it have a web server?). --David henry human wrote: > > >> Seems to me the simplest is the c:import tag and >> > sorry,I don't understand what you mean, could you tell > more detailed. Maybe a little code code, a sample, etc > >> fetch the file via http >> > how?? > >> -- just my two cents. You know more about your >> architecture and what's >> available than any of us. >> > ?? > what > should be configured in tomcat ? > Do you mean that i do not need tomcat at all for this > scenario? > I think it is not possible to read from the > hard disc directories f.i. d:\archive\files without > helps of a web server ? > > I am appreciated, if you get a sample, more details! > >> --David >> >> henry human wrote: >> >>> Once again because there was a mistake in the >>> >> first >> >>> email : >>> i am about to read from a JSP the data at a >>> remote computer. At remote computer is tomcat >>> running. the files are stored in >>> remote computer at >>> d:\archive\files >>> The port 80 is also accessible. >>> Please tell me, what should be >>> configured in tomcat to >>> be able to access the files >>> ? >>> >>> I am thankful for any hint >>> >>> >>> >>> >>> > __________________________________________________________ > >>> Gesendet von Yahoo! Mail. >>> Mehr M�glichkeiten, in Kontakt zu bleiben. >>> >> http://de.overview.mail.yahoo.com >> >>> > --------------------------------------------------------------------- > >>> To start a new topic, e-mail: >>> >> users@tomcat.apache.org >> >>> To unsubscribe, e-mail: >>> >> users-unsubscribe@tomcat.apache.org >> >>> For additional commands, e-mail: >>> >> users-help@tomcat.apache.org >> >>> >>> >> -- >> David Smith >> Network Operations Supervisor >> Department of Entomology >> Cornell University >> 2132 Comstock Hall >> Ithaca, NY 14853 >> Phone: (607) 255-9571 >> Fax: (607) 255-0940 >> >> >> >> > --------------------------------------------------------------------- > >> To start a new topic, e-mail: >> users@tomcat.apache.org >> To unsubscribe, e-mail: >> users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: >> users-help@tomcat.apache.org >> >> >> > > > > E-Mails jetzt auf Ihrem Handy. > www.yahoo.de/go > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org