Accesing a File outside Web Application
Hi All
I am designing a inter network search application using lucene.. While this process i came across a scenario i am displaying the searched file path to the user to acces it.. But in my Jsp i am not able to access any file out side my web application.. I think some sort of security is maintained by browser or JDK Itself..... can any one help me how to by pass this security and acccess the file outside webapp.. a simple statement like this
I am using Tomcat 5 for this...
There is no way i can bring the files inside webapp as it is an search application and should be able to get files from anywhere..
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Search Results</title>
</head>
<body bgcolor="grey">
<form name="search">
<table align="center" cellpadding="0" cellspacing="0" border="1">
<tr>
<td>
<center>
<ahref="C:\Lucene\src\com\tu\lucene\Xmldatareader.java">
C:\Lucene\src\com\tu\lucene\Xmldatareader.java
</a>
</td>
</tr>
</table>
</form>
</body>
</html>
Thanks in Advance

