QM, Open and read files... Lucene has indexed files under e:\data And after a Lucene search (from indexe) Lucene display something like that
http://merlin:9090/data/text/essai.txt With Etat HTTP 404 - /data/text/essai.txt Webapp Lucene is installed and running from D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\luceneweb Best regards ---------------------------------------------------------------------------- ---- Jean-Philippe DEGLETAGNE Natel: +33 (0) 6 80 87 89 16 T�l.CH: +41 (0) 22 849 05 91 T�l.FR: +33 (0) 4 78 00 24 33 Mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- ---- COSI-consulting route de Ch�ne 5 Case Postale 6298 CH 1211 GENEVE 6 T�l.CH: +41(0)22 849 05 91 Mail: [EMAIL PROTECTED] ---------------------------------------------------------------------------- ---- Ce message et toutes les pi�ces jointes (ci-apr�s le "message") sont �tablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d�truire et d'en avertir imm�diatement l'exp�diteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'int�grit� de ce message, COSI-consulting SA (et ses filiales) d�cline(nt) toute responsabilit� au titre de ce message, dans l'hypoth�se ou il aurait �t� modifi�. ---------------------------------------------------------------------------- ---- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integr ity of this message, COSI-consulting SA (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ---------------------------------------------------------------------------- ---- -----Message d'origine----- De : QM [mailto:[EMAIL PROTECTED] Envoy� : mardi 31 ao�t 2004 19:00 � : Tomcat Users List Objet : Re: -- TomCat/Lucene, filesystem On Tue, Aug 31, 2004 at 06:11:53PM +0200, J.Ph DEGLETAGNE wrote: : How to "customize" Webapp Lucene to access directory filesystem which are : outside TomCat ? : like this : : D:\Program Files\Apache Software Foundation\Tomcat 5.0\.. : to access : E:\Data You'll have to clarify what you mean by "access" -- open a file, write a file, what? Whatever the case, barring any SecurityManager problems or issues with file ownership/permissions it should be a standard java.io.* issue. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
