This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Bob, Apart from http,the link (href portion in <a> html tag) can be other protocols also like file/ftp/mailto. I just cut and paste few examples from one of the HTML references I have. regds maha anna
Joined: Nov 22, 2000
Thank you maha! If I have <a href=\"c:/tomcat/login.html\">click here</a>. Can a remote client get it? If they can, will it be displayed as c:/tomcat/login.html and show them my directory heirachy?
Joined: Jan 31, 2000
You have to be very careful with the forward/backward slashes and use it appropriately. It may depend on read/write/execute permissions of the dir structure. If it has read permission for all the remote client can view the dir structure. Try it. regds maha anna
Attn Maha Anna, this is with regards to the query that bob has put forth. My question is: Can a user access the physical file residing on the server using an anchor tag. For ex: <a href="c:\amit\a.html">a.html</a> "C:\" is the local directory of the server. Similarly can he access other drives of the server.If so how please reply...Thanks in advance...