0
votes
0answers
19 views

Scrabble ACSL java coding

So whats happening is that this code, This Code is just toooooo long. Is there any way to make this code in a simpler way? I'm a rookie and a friend asked me and he does not have any account to ask so ...
0
votes
2answers
28 views

Converting a Sorted Map from Java to an sorted object readable in Javascript

I have a ConcurrentSkipListMap which stores sorted data based on the timestamp since epoch. Now using Servlets I want to return this data to the browser. But, when I convert the Java map into JSON the ...
1
vote
1answer
20 views

Clientside GWT and Maven curious Setup

I want to setup GWT in a special mode. I only use GWT for the client side as a replacement for having to deal with JavaScript directly. The idea is to produce a single JS file. Since this is also ...
1
vote
1answer
36 views

Error com JSONP e Jersey 2.4.1

My Provider: @Provider @Path("/alunos") public class AlunoProvider { private AlunoDAO dao = new AlunoDAO(); @GET @JSONP(callback = "eval", queryParam = "jsonpCallback") ...
0
votes
1answer
27 views

How to create a Java Servlet for a given jQuery.ajax () call?

I have a file called wfd.proxy.js that contains the following lines of code : if (!WFD) { var WFD = {}; }; if (!WFD.Proxy) { WFD.Proxy = {}; }; WFD.Proxy = { SERVICE_URL : ...
0
votes
1answer
22 views

WebSocket onpen function not working

I'm sending a text through web socket to a Java server but the onpen function is never called this is the function am using for the client (WebSocketTest), and when I do close the server , the alert ...
1
vote
1answer
38 views

read a txt file that is dynamically fill

i read a file txt with java code and then i display it's content with js in html page but the content changes over time so i can't acces to file if the content was change: the java code : the methode ...
0
votes
4answers
33 views

Can't form correct JSON response for the client

I send GET request int this way: $.ajax({ url: myUrl, type:"GET", dataType: "json", success: callback }); On the server side I'm forming the following json string and send ...
1
vote
0answers
28 views

Different results when encrypting with Bouncy Castle and Node.js

I'm trying to perform the same encryption operation in Java (using Bouncy Castle) and Node.js, however I receive different results in each language. Below are my attempted implementations - can anyone ...
-2
votes
0answers
30 views

Edit Word Document Online using Java or JavaScript [on hold]

I want to edit word document online(web browser) using java or java script. Is there any open source API that can help to solve this problem? Please just suggest me to solve this problem. I don't ...
1
vote
2answers
61 views

Why does images.google.com GET requests have such an un-readable form?

Particularly, what are all the dots and numbers at the end for. Here is an example: ...
-1
votes
0answers
19 views

Java Galleria IO thumbnail reduce aspect radio formula

I have an image galleria using Galleria IO. When the plugin adds the images of several sizes, they resize each one like this: Original Size[width-height] Thumbnail[width-height] * 320x210 ...
0
votes
2answers
58 views

Will java script work on android application? [on hold]

I have an html page which has a payment form.When we type the credit card number , a javascript caputures the credit card number and convert it to a cypher text.This cypher text using php is posted ...
-1
votes
1answer
41 views

Is it possible to make a website using GWT and JavaScript? [on hold]

I'm going to work on a website with a few of my friends, but I don't really have much experience with JavaScript, HTML, or CSS. I looked at GWT and thought it'd be good for me since my best language ...
0
votes
1answer
32 views

Get Java Object properties in Javascript function

I am getting an arraylist of objects from Java class and I want to pass this arraylist to a javascript function and get each object's properties inside the javascript function. Please help me how to ...
-2
votes
0answers
26 views

How to invoke sensors bio metric fingerprint device [on hold]

I am asking this question here because I tried Google but could not find any satisfying examples on how to proceed on this. All I got was what one can do after fingerprint capture. I want to write a ...
0
votes
0answers
20 views

I want to find trending twitter topics on a particular domain [on hold]

I want to find trending twitter topics on a particular domain.After getting the list of these topics I want to incorporate the list on my website.For example, topics regarding gadgets,fashion in ...
0
votes
4answers
44 views

How to show the first value of dropdown list always on JSP for the first time when page is loaded?

I am working on a JSP page and I need to show the selected value of dropdown list on that JSP page always. Below is my example - <p style="font-weight: bold">Limit</p> <select ...
1
vote
1answer
30 views

Cookie Domain contains Dot?

I use the Cookies class of GWT to generate cookies. When I use the following Cookies.setCookie(LOGIN_COOKIE_NAME, value, expires); everything works fine. Checking the cookie in the browser leads ...
0
votes
1answer
46 views

accessing google app engine datastore using json and javascript

I'm trying to get the data from app engine datastore using json and send it to javascript code, but the json I've made doesn't appear to support JSONP so it can't be retrieve. I use java and gson to ...
1
vote
1answer
29 views

Distribute GWT module as JavaScript

I have the following requirement: Produce a GWT module in such a way that it can be used/included in a GWT app without recompiling it (so plug and play). This plug and play module would contain a ...
-1
votes
1answer
47 views

Format and beautify Java code while typing in textarea of html [on hold]

I have a textarea in my webpage works as a editor. While typing the java/c/c++ code in the textarea, I want the code to be formatted and auto beautify itself (like coloring keywords, spaces, auto ...
0
votes
0answers
4 views

Add user define time interval in chart range filter in google chart range control filter

How to add user define time interval in chart range filter of google visualization chart range filter control
0
votes
0answers
20 views

Uploading Using Javascript and Reconstruct using Java on the server side

I am doing a short program which upload file in slices on the client side using Javascript in chunks and reconstruct it on the server side using Java. The client side code is as follows: function ...
0
votes
0answers
22 views

Sometimes accidentally page not found error occurs

<%@page import="org.apache.shiro.SecurityUtils"%> <%@page import="org.apache.shiro.subject.Subject"%> <%@ page language="java" isErrorPage="true" ...
0
votes
1answer
30 views

How can i generate dynamic tree view in jsp using struts 1.3.10?

Please help me, how can i display dynamic tree view in JSP? This is my STATIC tree view: Here is coding for above output: <li> <a href=#><span class=icon-cogs></span> ...
0
votes
1answer
29 views

Javascript equivalent of StringEscapeUtils.escape java

How to unescape string escaped using StringEscapeUtils in front end. Thank you PS: I use EXT-js3.4 & Jsp.
0
votes
0answers
13 views

D3 not taking the database values when i call it for 2nd time

I am using an D3 api which will take database values through a servlet,so first time it is loaded with some default value but when i go for a searching it is not taking the newly formed json and it ...
1
vote
2answers
47 views

How to send JavaScript array to Servlet inside form tag?

I have made checkbox code and on checkbox click I am calling function which will add passed argument to JavaScript array. I have taken form tag inside body and inside form tag there is only checkboxes ...
0
votes
1answer
15 views

Fetching user information through my app like email and phone [on hold]

While registering user through my web app I get this following details.. I just want to fetch more information like registered user email and his phone. How can I? I get facebookuserid, facebook ...
0
votes
0answers
26 views

How to call user input from JSP file into Java file

I'm writing a program using JSP. I have a .java file containing a few methods, and I have a .jsp file which contains the following, in addition to a few javascript methods: <script ...
0
votes
0answers
34 views

input stream to UTF-8 with japanese causing issues in java

I am sending data from client in chinese text with proper headers (UTF-8). Its NOT going thorugh application/x-www-form-urlencoded (so - no key values) but I am simply doing a post with postdata ...
0
votes
1answer
19 views

How to use executeScript called by javascript (bridge) in webview (javaFX)

I have this class: public Palco() { super(); initComponents(); setExtendedState(java.awt.Frame.MAXIMIZED_BOTH); } private void initComponents() { createScene(); ...
-1
votes
0answers
49 views

“No 'Access-Control-Allow-Origin' header is present on the requested resource.” using JavaScript and a webservice made in Java

I'm able to retrieve JSON strings whenever I directly browse to my request (http://localhost:8080/leeromgeving2/api/gebruikers). But when I combine it with HTML and JavaScript and run it in Chrome, I ...
0
votes
0answers
24 views

Requesting echo from results page after countdown timer

I have a running Multiplayer Blackjack game. Once both players have joined the countdown timer starts (60 seconds). Once the timer runs out I want it to run another PHP page with the results on it, ...
0
votes
2answers
26 views

Showing div layer with GWT

I have a div element defined in a html page, and through GWT i am trying to access it, but as of right now i havent managed to. The usage for this div it is to show a loading type gif screen while ...
0
votes
1answer
32 views

Cordova Embedded webview not responding navigator.camera is undefined

I am trying to get my cordova webview to work with cordova 3.2 an use the phonegap Camera API to access the camera. Reference: Android WebViews Here are some successful implementations of what I ...
2
votes
1answer
22 views

javascript: receive radio button value in a radio group and command different instruction according to each case

I want to store new row in a database table when a person checked a first radio button in a radio group. Inserting database row is ok. But I don't know a below part among the whole codes. ...
0
votes
2answers
40 views

How to get ArrayList data from action class inside a javascript?

I'm gong to making an autocompleter using jquery autocompleter. In my case I need to load some data from a method. That method(return a list) has a parameter and I need to pass the textfield input as ...
1
vote
2answers
44 views

response status from server to client

In my app I want to respond from server to client the status of the operation, for example, from client sends data in format json to server and I want that this responds whit status of the operation, ...
-1
votes
0answers
18 views

Adding authentication in SOAP header Java Script

I have a SOAP code written in Java Script. When I am executing it it is showing Authentication error. How can I add authentication header in my code?
1
vote
2answers
37 views

Specifying default a4j:commandButton when press Enter in JSF form

My JSF form contain Multiple h:inputText and Multiple a4j:commandButton Also I have 2 buttons (search) and (reset) My need when i press Enter during editing any h:inputText (search) button will be ...
0
votes
2answers
31 views

How to controll size of image?

**css File** #zDIV_slideShow a {color:#fff;background-color:#fff} #zDIV_slideShow {display:none;position:absolute;left:0;top:0;width:100%;height:100%;background-position:50% ...
0
votes
1answer
16 views

Websockets application development

Im on the verge to decide which way to go. On one side i have jWebsocket framework which offers me fast startup with javascript - java (client-server) integration, and on the other is to use pure ...
0
votes
6answers
86 views

Getting n random elements in array

I want to get n unique random elements from my array. For example: if n = 4; I want to randomly get array[0], array[3], array[7], array[2] The problem is getting a random integer will lead ...
-1
votes
0answers
47 views

How to create a password strength meter like Google? [on hold]

I have a login JSP page and I did check for user input in servlet page. Now I want to add password strength meter like Google. I did some research and it looks like javascript would be the best way. ...
0
votes
1answer
19 views

How to put Java Map into Optgroup Options Using Spring MVC?

I am using Spring MVC. I currently have a Map being passed from Java to my page in a variable called "userLocales" via request.setAttribute('userLocales', bluh bluh bluh) I need to somehow get the ...
1
vote
0answers
10 views

MDateBox not working on iOS7

MDateBox not working on iOS7 when you try the Showcase example: http://mobilegwt.appspot.com/showcase/ See the screenshot of the showcase element section. The date box is not rendered. Is there any ...
0
votes
3answers
34 views

Javascript different ajax urls in test and deployment

I have a very basic problem with my ajax urls. I think most people probably had this problem but I couldn't find the question in SO. The scenario is like this. Assume I have a web project named ...
0
votes
0answers
21 views

How to scroll using jscroll pane in webdriver java

An element not coming into view as the pane remains constant. I believe if I scroll down the pane maybe it will solve that issue? So basically I want to scroll down a div to an element so as to get ...

15 30 50 per page