digital_storm
05-10-2004, 03:22 PM
Hello,
I would be really glad if someone could help me with this little problem.
I have a site were visitors can download songs that I have made and I want to count how many times every song has been downloaded. I thought that I could do something like this...
I have a page with links to my songs. When a visitor clicks on a link they will be redirected to a page lets say bla.jsp?id=1
On bla.jsp I do a request.getParameter("id") and make a connection to a database were all my "songs" (the name of the songs) are stored with the same "id" as on the page.... Now I have solved the "count problem"
Now I want from bla.jsp open a new little window, above my bla.jsp, which will download current song. Lets say that my track is called "hello.mp3" with id=1. My songs are stored on my webbserver and not in a database in a catalogu called "musik" (musik/hello.mp3).
How do I do that?
Thanks in advance// D_S
I would be really glad if someone could help me with this little problem.
I have a site were visitors can download songs that I have made and I want to count how many times every song has been downloaded. I thought that I could do something like this...
I have a page with links to my songs. When a visitor clicks on a link they will be redirected to a page lets say bla.jsp?id=1
On bla.jsp I do a request.getParameter("id") and make a connection to a database were all my "songs" (the name of the songs) are stored with the same "id" as on the page.... Now I have solved the "count problem"
Now I want from bla.jsp open a new little window, above my bla.jsp, which will download current song. Lets say that my track is called "hello.mp3" with id=1. My songs are stored on my webbserver and not in a database in a catalogu called "musik" (musik/hello.mp3).
How do I do that?
Thanks in advance// D_S