want to control winamp from servlet
helo evry boby i want to knw how can i control external application like wainap from a servlet external databases can be accessed by tomcat y cant external application can u plz tel me hw can i acess apllication outside server space plz -- View this message in context: http://www.nabble.com/want-to-control-winamp-from-servlet-tf2246625.html#a6230912 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
want to control winamp from servlet
helo evry boby i want to knw how can i control external application like wainap from a servlet external databases can be accessed by tomcat y cant external application can u plz tel me hw can i acess apllication outside server space plz -- View this message in context: http://www.nabble.com/want-to-control-winamp-from-servlet-tf2246626.html#a6230913 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: want to control winamp from servlet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rahulgarg schrieb: > helo evry boby i want to knw how can i control external application like > wainap from a servlet > external databases can be accessed by tomcat y cant external application > > can u plz tel me hw can i acess apllication outside server space plz Does WinAmp provide some sort of programming interface (API) in order to be remote-controlled by any other application? This would be the cleanest approach to solving your problems. Maybe you might use some Windows-specific hacks to do the same, but I'm not really familiar with those. By the way, just curious: Why do you want to use server-side technology in order to remote-control a client / desktop application? What do you intend to do this way? You surely are aware of the fact that database access using JDBC is _fundamentally_ different to what you want to do, aren't you? Cheers, Kris - -- Kristian Rink * http://zimmer428.net * jab: [EMAIL PROTECTED] icq: 48874445 * fon: ++49 176 2447 2771 "Wenn einer allein träumt, ist es nur ein Traum. Wenn viele gemeinsam träumen, ist das der Anfang einer neuen Wirklichkeit." (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFA84wcxBAPOA1m6wRAkW5AJ9rqpept4ud+63XQUWcI8pnRGBxRgCeKXqP /f/NauSgF23dloM3VjmQtto= =4ai9 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: want to control winamp from servlet
Kristian Rink wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > rahulgarg schrieb: >> helo evry boby i want to knw how can i control external application like >> wainap from a servlet >> external databases can be accessed by tomcat y cant external application >> >> can u plz tel me hw can i acess apllication outside server space plz > > > Does WinAmp provide some sort of programming interface (API) in order to > be remote-controlled by any other application? This would be the > cleanest approach to solving your problems. Maybe you might use some > Windows-specific hacks to do the same, but I'm not really familiar with > those. > > By the way, just curious: Why do you want to use server-side technology > in order to remote-control a client / desktop application? What do you > intend to do this way? You surely are aware of the fact that database > access using JDBC is _fundamentally_ different to what you want to do, > aren't you? > > Cheers, > Kris > > > - -- > Kristian Rink * http://zimmer428.net * jab: [EMAIL PROTECTED] > icq: 48874445 * fon: ++49 176 2447 2771 > "Wenn einer allein träumt, ist es nur ein Traum. Wenn viele gemeinsam > träumen, ist das der Anfang einer neuen Wirklichkeit." (Hundertwasser) > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFFA84wcxBAPOA1m6wRAkW5AJ9rqpept4ud+63XQUWcI8pnRGBxRgCeKXqP > /f/NauSgF23dloM3VjmQtto= > =4ai9 > -END PGP SIGNATURE- > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > helo kristian i knw the api by which winap can be controlled bye a java program it works fine for the normal java program on desktop but want to control winap from a client side winap is on the server i am doing some project it need it -- View this message in context: http://www.nabble.com/want-to-control-winamp-from-servlet-tf2246626.html#a6231114 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: want to control winamp from servlet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rahulgarg schrieb: [snipped] > helo kristian i knw the api by which winap can be controlled bye a java > program > it works fine for the normal java program on desktop > but want to control winap from a client side > winap is on the server i am doing some project it need it What sort of API are you using for that purpose, then? Is this "official WinAmp" stuff or something else? Do you have an example of how Winamp control is done there using "client-side" Java? What happens if you try the same from within a servlet? Cheers, Kris - -- Kristian Rink * http://zimmer428.net * jab: [EMAIL PROTECTED] icq: 48874445 * fon: ++49 176 2447 2771 "Wenn einer allein träumt, ist es nur ein Traum. Wenn viele gemeinsam träumen, ist das der Anfang einer neuen Wirklichkeit." (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFA9O0cxBAPOA1m6wRAqW2AJ9TMdKufJ9iog4bdTKbWptUpct3fQCgk42h ITol1Dh11OKQNzNyzyeJB3g= =nOQf -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: want to control winamp from servlet
Kristian Rink wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > rahulgarg schrieb: > [snipped] > >> helo kristian i knw the api by which winap can be controlled bye a java >> program >> it works fine for the normal java program on desktop >> but want to control winap from a client side >> winap is on the server i am doing some project it need it > > > What sort of API are you using for that purpose, then? Is this "official > WinAmp" stuff or something else? Do you have an example of how Winamp > control is done there using "client-side" Java? What happens if you try > the same from within a servlet? > > > Cheers, > Kris > > > - -- > Kristian Rink * http://zimmer428.net * jab: [EMAIL PROTECTED] > icq: 48874445 * fon: ++49 176 2447 2771 > "Wenn einer allein träumt, ist es nur ein Traum. Wenn viele gemeinsam > träumen, ist das der Anfang einer neuen Wirklichkeit." (Hundertwasser) > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFFA9O0cxBAPOA1m6wRAqW2AJ9TMdKufJ9iog4bdTKbWptUpct3fQCgk42h > ITol1Dh11OKQNzNyzyeJB3g= > =nOQf > -END PGP SIGNATURE- > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > these are free code named mpcontrol google mpcontrol api u wll c it work fine when u make a desktop application but when u make a servlet it is not able to find playing media information give null pointer exception code is: import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.Iterator; import java.util.List; import java.net.URL; import org.jdesktop.jdic.mpcontrol.IExtendedSongInfo; import org.jdesktop.jdic.mpcontrol.IMediaPlayer; import org.jdesktop.jdic.mpcontrol.ISongInfo; import org.jdesktop.jdic.mpcontrol.MediaPlayerService; public class jukeradio extends HttpServlet { public void doGet(HttpServletRequest req,HttpServletResponse rep)throws IOException,ServletException { rep.setContentType("text/html"); //String uname=req.getParameter("T1"); //String pass=req.getParameter("T2"); PrintWriter out=rep.getWriter(); out.println("JDIC Media Player Control - Demo : CurrentSong"); List players = MediaPlayerService.getInstance().getMediaPlayers();-- this igive null pointer exception i have placed all packages it need and a lib it need i complie fine but didnt run this problem is same as a person on this forum asked for ROOt rights for a servlet if the servlet has root rights it can access any appliction -- View this message in context: http://www.nabble.com/want-to-control-winamp-from-servlet-tf2246626.html#a6231418 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]