I think this is a JSP question, not a Lucene question,
and the answer is application.getResouce(...)
or application.getRealPath()

http://www.jspinsider.com/reference/jsp/jspapplication.html

-----Original Message-----
From: Parag Dharmadhikari [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 6:08 AM
To: Lucene Users List
Subject: getting relative path after searching


Hi all,

When searching is done it gives you the full path of the searched
document for instance "D:/tomcat/webapps/Root/Office/Office/xyz.doc".
Now if I want only relative path like "/Office/Office/xyz.doc" instead
of total path then how should I proceed/

regards
parag


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to