Not able to access full location address in mozila and crome !!
@morningdot-6Xuj4M
•
Oct 25, 2024
Oct 25, 2024
1.2K
Hello guys,
Check these codes....
And the first program is for displaying the location of that file.
But the problem is that it will work fine with IE(Show the full location address of a file).But when i try to do this with mozila and chrome it will show only file name.
Can any one help me to solve this issue.
😡
Check these codes....
<%@ page import="java.io.*"%>
<%
String path=request.getParameter("t1");
%>
<h1><%=path%></h1>
<html> <center> Brouse your file </center> <head> <body bgcolor="yellow"> <form action="upload1.jsp"> Image<input type="file" name="t1" accept="image/gif,image/png"> <input type="submit"> </form> </body> </head> </html>Actually the second program is for Browse the file and then submit the file location to upload1.jsp.
And the first program is for displaying the location of that file.
But the problem is that it will work fine with IE(Show the full location address of a file).But when i try to do this with mozila and chrome it will show only file name.
Can any one help me to solve this issue.
😡