Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
String path = "/images/product/pic.gif";
String filename = null;
int i = path.lastIndexOf('/');
if (i != -1) {
filename = path.substring(i+1);
}
else {
filename = new String(path);
}
out.println("File is " + filename);
%>