<a href="d:\jsp.pdf">view</a> this is not working
but jsp.pdf is within the web application ( href="jsp.pdf" ) is fine.

The problem is when i run the program the url is always start with http:\localhost\
so if i give ( href="d:\jsp.pdf") like this the url is http:\localhost\d:\jsp.pdf
how to resolve this please help me

<a href="d:\jsp.pdf">view</a> this is not working
but jsp.pdf is within the web application ( href="jsp.pdf" ) is fine.

The problem is when i run the program the url is always start with http:\localhost\
so if i give ( href="d:\jsp.pdf") like this the url is http:\localhost\d:\jsp.pdf
how to resolve this please help me

just put the relative path for file..and use \\ for url addrs

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.