0
votes
0answers
14 views

Multiple .gif overlays in images

I have an image in a div on my website.I use the Java applet PopUpMenuV32.class to overlay this image with various gifs depending on the clicked hyperlinks. All works well for me, but my visitors tell ...
0
votes
2answers
23 views

Passing value of checked checkboxes via ajax to java

i wrote the below function to get value of checked checkboxes ,so that I can send the value to java class using ajax ,the name of variable I have used in code is checkID function getParam() ...
0
votes
2answers
13 views

Android to execute web js

I am writing an app that can auto-login a website .There is a Javascript function which submit the form .I tested it by typing it in the Google Chrome Console ,and it worked .Can anyone tell me how ...
0
votes
0answers
18 views

How to enable keep alive on CSS,JS and images>

I have enabled Keepalive on my servlet and JSP pages by adding keepalive header.But GTMETRIX still shows that I should enable keepalive on CSS,JS and images.I am making myproject in java.Any idea how ...
-2
votes
1answer
20 views

Converting Groovy Map to JSON in JS or to HashMap in JAVA [on hold]

How to convert this map [ value : true , remarks : 478 ] to JSON in javascript or to HashMap in Java.
0
votes
1answer
25 views

to read json array from html file and printing the values in servlet

I have a JSON array generated from a form <script type="text/javascript"> $(function() { $('#btn').click(function() { var ...
-4
votes
0answers
13 views

how to change the mouse selecting/highlighting text design as box(like rectangular selection box in paint)? [on hold]

I used ::selection properties for changing the mouse selection but not find worthy for changing it to rectangular selection box.I have tried javascript and jquery also
0
votes
1answer
13 views

Run JavaScript in WebView while page is still Loading - Can I get Progress Percentage?

I've been trying to get a javascript function to run in my WebView by calling webView.loadUrl('javascript:...') in the onPageFinished method of WebViewClient. However this is too late for the proper ...
0
votes
1answer
17 views

Manipulating and storing Java hashmap(map of map) in java script at JSP to use later in combo menu

I have a hashmap as variable in baking bean like. private Map<String, Map<String, String>> states; At JSP page, I have two combo menu 1st is for country and second is for states. I ...
0
votes
0answers
12 views

ssh client terminal using java and shellinabox [on hold]

I have a very simple usecase. I need to open a ssh client terminal in webpage when I right click I have to open it. I have used shellinabox which is opening terminal in localhost:4200. Now I have ...
0
votes
0answers
15 views

SmartGwt js file break down jsip js library

I include smartgwt library in my project: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.6.0//EN" ...
0
votes
1answer
17 views

How to get Java to match JavaScript encodeURIComponent() method?

I am trying to pass this strings in the URL which contain special characters and the only way I can get it to work is with JavaScript encodeURIComponent('testerๆ๘ๅ') which produces ...
0
votes
1answer
14 views

Embed Processing .pde file with fisica library into html

I want to embed a .pde file with the fisica library into a webpage. This will not work with processing.js (because it is using a library), but I was wondering if there was any other way to do it? I ...
0
votes
1answer
24 views

pass java object from javascript to java

Is it possible to pass objects created in Javascript to java? for example I have a POJO called myPojo with propertys name and address The object is created in Javascript: var myPojo = new ...
0
votes
0answers
11 views

Play2 javascript routing using multiple controllers

We're setting up javascript routing in Play2 (with Java), basically as described as on the "JavaGuide6" page That is, we are setting up routes with a call like return ok( ...
0
votes
0answers
16 views

Android WebView inject JavaScript between onPageStarted and onPageFinished

I need to inject some JavaScript into my web page that I'm loading into a WebView, but injecting it at onPageFinished is too late and onPageStarted is too soon. Any way I can inject it between this ...
0
votes
0answers
48 views

Can anybody explain this behavior

I wrote a test application with play 2.2.4 + JQuery-1.11.1. There are the files: Application.java public class Application extends Controller { public static Result index() { return ...
1
vote
0answers
28 views

File Upload using JQuery Ajax with Struts1

My requirement is to submit a HTML form (Including File Type and Text Type) using AJAX call, I am using Struts-1 at the server side to parse the http request. Below is the code i have wrote, but its ...
0
votes
0answers
16 views

Displaying a chart in Vaadin 7 with Google Visualization API

I want to display a barchart with the Google Visualization API. I followed the example code in this thread: https://vaadin.com/forum/#!/thread/2971952/ Here is my code: GVis.java @JavaScript({ ...
0
votes
1answer
19 views

Android WebView JavaScript not getting evaluated

In my WebView I'm setting a WebViewClient in order to evaluate some JavaScript when the page finishes loading: webView.setWebViewClient(new WebViewClient() { @Override public void ...
0
votes
0answers
16 views

Progress Bar For Java Applet With Using All Browsers

I want to add progress bar when the applet is loaded on all browsers (Google Chrome, Mozilla Firefox , Internet Explorer , Safari, Opera) . I try to make this with javascript and html body onload ...
0
votes
1answer
11 views

Uploading file to Glassfish alternate document root folder

I made an Alternate Document Root for Glassfish in glassfish-web.xml: <glassfish-web-app> <property name="alternatedocroot_1" value="from=/Database/* dir=c:/GetSome" /> ...
0
votes
1answer
24 views

Why doesn't work js debug for intellij?

I am working with intellij and want to debug javascript. My debug configuration has "with javascript debugger". I put breakpoint on javascript variable, but I get error "ReferenceError: eventsArr is ...
0
votes
0answers
13 views

Android webview, pretend file drop

Imagine I have a jQuery script to listen for drag and drop action and then upload them. If I open my webpage in a WebView , how can I drop a File object into that area? (basically fake a drop given I ...
1
vote
1answer
12 views

Publishing of JS files on tomcat in eclipse

I want my javascript files to publish automatically when I change them. The problem I am facing is when I keep the Publishing settings to "Never publish automatically", eclipse does not publish ...
0
votes
3answers
47 views

How to read XML server response in JavaScript?

I work on a web project and at this point I need to pass a hard-coded xml from Java to JavaScript to parse that xml; the problem is that I don't know exactly how to do this. As shown below, my xml is ...
-1
votes
0answers
25 views

Google Map infowindow is blank for foreign language

Last time I asked related to this question, may be I didn't make it specific enough. Thus, I delete the previous and wrote this one. Let me explain the situation first, I am now coding with Java ...
0
votes
1answer
13 views

Applet and Object Tag JSP interaction

I have an applet in a web application (JSP page) in one domain somedomain/myjsp.jsp embedded via object tag and i have another object tag in the same jsp which loads some other domain url ...
0
votes
0answers
9 views

How to set variables in a scripttask?

I've created a process in activiti and in one of my steps in my process which is a scripttask I need to set some varables variables and I have no idea of how this can be done. My scripttask is ...
0
votes
1answer
45 views

Play framework : What is the best way to pass on scala template parameter to Javascript (angular)?

Lets say I want to pass a List of strings to my template and create a ul by iterating over it. And I don't want to use ng-init. Action : public static Result login(){ List<String>Names ...
1
vote
1answer
36 views

Webapp with MEAN stack and Java

I've been a Java/J2EE developer for a few years now, and unfortunately lately I haven't been learning that much because of the context of my daily job and my company. That's why I've decided to ...
0
votes
1answer
6 views

Not getting callbacks from my custom Cordova plugin (Android)

I created a plugin for multipart call and my plugin seems to work, but when I call it this way: multipart.uploadFiles(function() { alert("success"); }, function() { ...
1
vote
1answer
35 views

Debug javascript used in a Java application

I work on a java standalone project that use rhino to run javascript. Those scripts are mainly objects manipulation. Using logger in the javascript is not always enough so i would like to use ...
-1
votes
0answers
28 views

Domain validation using java code [on hold]

I need to write a java code for validating a domain which is given as input sting to java transformation in informatica.
0
votes
0answers
10 views

How to identify ServerEndPoint of different packages in Java Websocket Server?

I'm using WebSocket for bi-directional communication between Javascript client and Java Server and here is my project hierarchy. I have created a javascript client websocket.js var ...
-1
votes
2answers
68 views

Could anyone please explain my jquery ajax issue here?

I am sorry if I am asking for too much. I tried to read on the web about ajax but still did not get it how to implement it to my project. Could anyone please explain it for a noob like me? I have a ...
1
vote
1answer
38 views

java script parsing error during jenkins nightly build. after upgrading sonar to 4.3.2

After upgrading sonar from 3.4 to 4.3.2 version, we are getting java script parsing error during jenkins nightly build. It was all working fine in last version.The sonar runner is still of version 2. ...
1
vote
1answer
31 views

Spring form select Select/click event using Jquery/Javascript

I have a field Marital status. It is a spring form select(drop down) and the options are being generated dynamically based on the selections in the previous pages. I am stuck in a particular scenario ...
-1
votes
1answer
20 views

Automate text file downloads to circumvent 500 entries limit [on hold]

I'm working on a project with a climate change activism group and we are collecting meta info on journal articles published on the subject. This is the database we use: ...
0
votes
2answers
15 views

Recursive Function to create Treeview for Angular.Treeview

I'm trying to come up with a recursive function that I can use to create the tree view structure that angular tree view uses. Here's a link that shows the structure: ...
3
votes
1answer
37 views

How to Cache notification data obtain by Ajax call?

I am using push notification services in my web application,one of my project requirement is to cache notification data obtain by Ajax call so that same data can be viewed when user switch from one ...
-1
votes
0answers
28 views

JavaScript generation library [on hold]

Similar to Sun's Codemodal library available in Java, I am looking for a library which will help me to generate JavaScript. I need this library to transform set of XML files into HTML and JavaScript. ...
0
votes
0answers
22 views

How to open the Firefox browser console and save the errors programatically in Selenium Java

How to open the Firefox browser console and save the errors programmatically in Selenium Java. I have a URL which loads into firefox browser. If there are any errors in the browser's console then ...
0
votes
1answer
31 views

UI Bootsrtap(AngularJS) modal is not working

I have this practice project that I am working on, but I cant get my UI Boostratp modal working. Using example from the site https://github.com/angular-ui/bootstrap/tree/master/src/modal I have been ...
1
vote
2answers
45 views

Java Servlet keep on sending messages

I am using HTML5 server-sent events and I would like to send random messages to the client from the server. Below is some portion of MessageServlet.java : PrintWriter writer = response.getWriter(); ...
0
votes
0answers
28 views

htmlunit : An invalid or illegal selector was specified

I am trying to simulate the login with htmlunit. Although I wrote my code according to the examples, I have encountered a boring problem. Below are some message I have picked up from the console. ...
-1
votes
0answers
21 views

Send map from Groovy to Javascript file

I have created a map in groovy file and want to use this map in javascript. could some one please tell me how to send a map from groovy and how to retreive it from javascript. Thanks in advance. ...
0
votes
1answer
26 views

google chart data formatting error(javascript)

I'm calling a scatter plot with google.visualization.arrayToDataTable(loadGraphData); where loadGraphData is being generated from a backing bean in the form of an ...
1
vote
0answers
27 views

Selenium Webdriver: JavascriptExecutor to push play on video

How to execute play function on page's javascript jquery code using JavascriptExecutor? This is the code from the website: <script type="text/javascript"> jQuery(document).ready(function($) { ...
0
votes
0answers
39 views

Selenium Webdriver: Click video control play button

How can I click the play button within video controls on the video located on this page? http://prolifiq.com/inside-prolifiq/tiles/invite/ Below is the page source. I do see what looks like a ...