
RikyTres
Members-
Content Count
6 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout RikyTres
-
Rank
Newbie
- Birthday 05/02/1990
Previous Fields
-
Languages
Italian, English
Profile Information
-
Location
Italy
-
Problem with Java Servlet and JavaScript communication
RikyTres replied to RikyTres's topic in Java/JSP/J2EE
Thanks for the answer, but I tried a lot and I wasn't able to do this, then i change way...Now I use WebSocket and everything works fine! -
I'm trying to make a XMLHttpRequest from a JavaScript page to a Java Servlet.I found out lots of problem because it's first time that I do this. The main problem it's that the servlet doesn't work!It give me this error: HTTP Status 500 - Servlet execution threw an exception type: Exception report message: Servlet execution threw an exception description: The server encountered an internal error that prevented it from fulfilling this request. exception: javax.servlet.ServletException: Servlet execution threw an exceptionroot cause java.lang.NoClassDefFoundError: com/google/appengine/api/chann
-
I keep trying to understand! I found out some problems with JavaScript syntax.Could someone explain me this code portion? {...var pc1 = new RTCPeerConnection(servers);var pc2 = new RTCPeerConnection(servers);...pc1.createOffer(gotDescription1); //why is gotDescription1 invoked without any parameter?...} function gotDescription1(desc){ pc1.setLocalDescription(desc); trace("Offer from pc1 \n" + desc.sdp); pc2.setRemoteDescription(desc); pc2.createAnswer(gotDescription2);} I don't understand what is the values of "desc" parameter in the gotDescription1(desc){}
-
Thanks for the quickly answer!I never thought to use a breakpoint... I'm gonna try!
-
Hi everyone. I need to create a webApp for video call between two computers using a browser without plug-in. I have to use WebRTC to make this. While searching information about this, I found out a lot of exemples and demos, but i don't understand how the connection works.What's kind of parameters I have to pass to RTCPeerConnection() to create a connection between two my computer both in same LAN? Thanks for the help.
-
Hi everyone! I need help for transforming XML in to XHTML using XSLT. I can do everything i need in XSLT and it works on every Browser except in Google Chrome. I read that this is not a strange thing... Google do this intentionally for keep hight security level... Is this true?Are there something that I can do for resolve this problem?