• Post Reply Bookmark Topic Watch Topic
  • New Topic

a problem about file download  RSS feed

 
krussi rong
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a jsp,want to user download a file.
I used this code:
<a href= "example.cvs"> download.
the problem is the first the click the "download"
the browser gave me a save file window,but the
second time the browser opened the file.
does anyone know how to solve the problem?
thanks.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"krussi"

Your name doesn't agree with the javaranch guidelines. Please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!