I have a very simple webapp where I am trying to plot graphs using flot javascript library. My JSP file goes this way where I am importing the required *.js files as follows.   Relative to the hello.jsp file at WEB-INF/pages/hello.jsp, scripts direct...
What I have: I use Jetty Websockets and jquery + backbone.js on my client side. Each time user open a new tab, he get new websocket connection and must to log in again.  What I want:  I want user haven't to log in each time he open new tab. Inste...
Having a Jetty server set up programmatically which I try to access via ajax and xmlHttpRequest. Without authorization, the call works fine but with, I get 401 Unauthorized. Any suggestions.  Javascript call looks like this (shortened):  var auth = b...
Recently, I started getting errors when trying to access the client's mic through my website. When Chrome asks whether to allow the site to access the user's microphone, [object NavigatorUserMediaError] is produced whether they click "all...
I am making a call from a node middle-tier to a Java backend and passing a string as a query param. Everything works great until non-English alphabet character are used (ex: ?,ý). When Java receives these characters it throws:  parse exception: org....
I have an angular-js application that is hosted by jetty (i can host it by gulp serve)  It has an index.html and i want it to call gapi to connect the current user and ask him\her for oauth for permissions.  <!DOCTYPE html> <html>  <he...
I've tried to include javascript file in ftl (Freemarker Template)    but I keep getting this message    I'm using Spark framework which has Jetty server. This happens every time I try to include any file, even just an image. With css I'v...
I'm building an application in java that has an embedded websocket server based on jetty. The client is the default websocket implementation in google chrome. Everything is working ok, only if there is no transfer between server and client after...
I have a javascript API that it's included in some websites. For some reasons there is a need for communicate that browser side with a desktop application written in Java. As you can see, all is local to the host.  My first solution was to use pl...
I have strange problem with a Maven2.2.1 and JavaScript. The problem occured when I was trying to filter one JavaScript file according to different profiles I am running. My Maven code is near this:          ...         <resource>...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.