Today has been a very eventful day.I started off the day with no hope of completing the project.I mailed Pedram telling him that there is a slight problem regarding the project. My basic idea was this.
1) A servlet which reads an XML from a Web Service called AudioScrobbler.
2) Write the XML file onto the NEO server
3) Apply XSLT and display fancy stuff.
I didnt realize this problem. I wasnt able to write the file onto the server without the "right" permissions. So i kinda had given up. My friend showed up like a Guardian Angel and told that i could use a Server hosted by Netbeansl.Server being my Computer itself. I tried it and ran into a few "Jar file not found" errors.Fixed all that stuff. Then i was getting an error that the XML file which was supposed to be converted was not found on the working Directory. I then gave a search for the file and found it on some directory in program files. PHEW!!! . Altered the code and Voila! the project worked. But just one problem the XML file was empty. I then realized that i was so Preoccupied with the project not working that i forgot to play Music. The XML would be updated or "SCROBBLED" only when a song is played. I played a song .As the song ended i tried running the Project.
It finally worked.
Made most of the things work.Added a CSS file and created a not-so-fancy HTML page
which looks like this
Top: Displays My Top Albums
Top: Displays My Top Artists
Top: Displays My Recently Listened Songs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment