0
votes
2answers
24 views

How to parse/extract the following data from end point using JavaScript?

There is some data stored at a end point(url). And the file is a .jsp file. The following is the data. {"successful":"true","rows":[{"zip":"56431","user_id":"35","name":"test"}]} How can I ...
0
votes
0answers
18 views

Download website source code with java - Livedata

I would like do download the source code (html) from a website with Java. I saw a lot of solutions here (stackoverflow.com), but I need a special solution. I would like do the source code where live ...
-4
votes
1answer
32 views

Image Verification during Sign Up

I would like to add image verification on my sign up page to ensure only human can register. How can I achieve this ?
0
votes
1answer
37 views

What is the significance of currentStyle

Can you tell me in CQ5, the exact use of currentStyle. I have one line like int absParent = currentStyle.get("absParent", 3); May I know what currentStyle will do here.
0
votes
2answers
32 views

JavaScript or Python to pull IP address from block data

I am trying to filter through a bunch of jiberish text in a google spreadsheet, and pull just the IP address and store them so I can compare them later. IE user puts in "Summary: unauthorized ms-rdp ...
-1
votes
0answers
15 views

Display Tag I am using in JSP. I want the Scrolling option in display tag ,not for the whole page

This is the Display Tag I am using in JSP. I want the Scrolling option in display tag ,not for the whole page.. so that heading of the display tag should not be scrolled. <display:column ...
0
votes
1answer
31 views

Dynamically set default date on primefaces calendar with javascript

I need to set a suggested date for a p:calendar given the selected date in another calendar. I can get a string representation by the date to set by parsing the DOM, so no problems there. I try to use ...
0
votes
0answers
27 views

HttpResponseException in Java Based Adapter

I am trying to do a post request to a URL https://jazz.net/. I am getting the following error. invocation of javascript function 'addTwoIntegers' has failed: Unauthorized" FWLSE0101E: Caused ...
0
votes
0answers
11 views

Extjs Pagging Not Enable with manaully fill dataStore

My Problem is I am fetching data from server side, in a form of array. Not i want to do paging,searching,sorting on remote side. I have create a grid,model,store just like bellow. Model ...
0
votes
2answers
28 views

Phonegap: javascript timer still running after closing DroidGap activity

I'm working in an Android WebApp using Phonegap. To exit the application, I'm calling navigator.app.exitApp from JavaScript code. I tried to find the documentation page for this method, but it does ...
0
votes
0answers
31 views

How to select a <a href> javascript button using selenium java

Trying to select the "Add to Shopping Bag" button. Confused how could I. Trying to do it using Selenium Java. I used: public void addToBag() { WebElement AddToBag = null; ...
0
votes
0answers
28 views

In java how to save session data while making ajax calls from javascript

Im using the below code in javscript to make ajax call. When the control goes to the servlet, all the session data is lost, also a new sesion is getting created. Can someone tell me how to save the ...
-1
votes
0answers
32 views

AngularJS : View Page according to the Role of user who is going to login

I have following classes : Login.java class contain username password & role of the user with setter & getter. LoginDAO.java contain some methods (according to role eg: student, teacher) ...
3
votes
1answer
98 views

How to get non english words in Java?

I am passing இயற்பியல் in subject name from Javascript to Java, while using alert in javascript. alert(subject name); இயற்பியல் is shown, whereas if I get value of subject name using String ...
-7
votes
0answers
37 views

rehire effecitve date [closed]

I need a query to review a HR process to rehire- if the address exist then do not update the effective date if the address does not exist update the info and the effective date updates .
-1
votes
2answers
39 views

Javascript Object to Java List

I have the following type of JSON I want to send to Java (I'm using Jersey and the default JSON Parser it comes with) { "something" : "1", "someOtherThing" : "2" , ... } But instead of creating an ...
1
vote
3answers
43 views

External jquery file is not working in spring MVC?

My Jsp is , <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%-- <%@include file="include.jsp"%> --%> <%@ taglib prefix="form" ...
0
votes
0answers
8 views

Tooltip for dynamic values cominfg from db

I have a table with rows and column coming from db.i need a tool tip functionality for particular value of the column .if value(30) then i need to popup a messge. can u help on this.........
-2
votes
1answer
30 views

Form a JSON object from an existing one

I want to get the following output JSON string from the below source object. Source JSON: { "Data": [ [ "3mCo", 71.72, 0.02, 0.03, "9/112: 00am" ], ...
0
votes
1answer
48 views

Why given code throws exception (Jsoup)

As it is said on so many forums that element is a special case of node in DOM. But I got an exception that violate this rule. It throws exception at statement, elem.remove(). Here, ele is an ...
-2
votes
0answers
16 views

Add panelgrid dynamically in jsf serverside [closed]

I have one jsf page which contain two panelgrid. Panelgrid contains 4 inputbox and one add button. When I click on add button it creates panelgrid dynamically via java code.I dont know how to create ...
-3
votes
1answer
58 views

how can i execute java method inside a javascript function? [duplicate]

i'm actually working in a project using html5 and jsf 2.0 . In my page i'm using html5 drag and drop. My drop and drag methods are in a javascript tag. How can i call a java method while drop method ...
0
votes
1answer
40 views

Can we programmatically configure Chrome?

I'm trying to enable the option "Ask for download location" on Chrome programmatically, since my client wants to have a browse window to pick the download location. Any suggestions?
-3
votes
0answers
123 views

Programming language implemented both in Java and JavaScript [closed]

I am looking for the general purpose language (let's call it language X) which would have implementations in both Java and JavaScript. It means that given the X source code as a string/file, I could ...
0
votes
1answer
28 views

Given final block not properly padded AES

I am encrypting a string and storing it in a cookie at client side.. but when I send that exact encrypted string from js to java code it gives me the aforementioned exception. The code I am using ...
0
votes
0answers
50 views

Unidentified UI issue

I found some unusual characters appearing on our web application. It looks very similar to what i found on yahoo india website. http://in.yahoo.com/ If you open this link using firefox ( i used ...
0
votes
0answers
43 views

How about writing a DBMS in JavaScript if we can write using Java? [closed]

During the early days of Java, we know that the JVM performance was not that great to consider writing high performance applications like database in Java. But things changed and now JVM has better ...
0
votes
0answers
43 views

A de facto method for JavaScript “classes” [closed]

I'm using this the same way a Java developer would use a class. I am aware of the hundreds of differences between the two functionally, I just mentioned Java Class as a "behavioral" correlation of ...
0
votes
1answer
33 views

Parsing Text in Java from a Webpage that uses JavaScript to Generate the Text on-the-fly

I like playing Magic: The Gathering, and I also have a database of my collection. Magic set information was easy to obtain, since I could parse it directly from the HTML URL stream I opened, but I'm ...
-5
votes
0answers
26 views

How to set data in same HTML where request comes for a servlet [closed]

I'm getting data from an HTML page and saving it to a database using a servlet. The HTML page has two text boxes and a submit button. I want that when our servlet call for save data into the database, ...
0
votes
0answers
28 views

Request getting submitted to two different servlets

I have a JSP page that is populated with data that is got from "servlet1". On the JSP page, when I click "Add to Cart" the data needs to be submitted to "servlet2". While the data gets submitted to ...
0
votes
1answer
44 views

how to create a plugin for google chrome that automatically shuts down the system

i have a java code for automated shut down of a system. the code is as follows:- import javax.swing.JOptionPane; public class sd { public static void main(String[]args) { int ...
0
votes
0answers
23 views

How to use htmlunit via command line to get HTML Source

I read on Google's Ajax Crawling pages that htmlunit will execute JS. I'm thus loking for a way to execute htmlunit from the command line, passing the URI I'd like to get the HTML source code of ...
0
votes
0answers
20 views

Android MapQuest Plugin: Class not found

I am new to PhoneGap and I am trying to pass longitude and latitude javaScript variables to Java through a PhoneGap plugin that will launch the MapQuest Navigator application on my Android mobile ...
0
votes
1answer
41 views

How to use an HTML5 data attribute to get session attribute

I'm new to the front end side of Java EE and HTML5. I have read that you could use the data attribute to read through the DOM. How would you properly use this to get a session attribute already set by ...
0
votes
0answers
9 views

Is there a way to see running DWR calls?

I have an application set up with DWR. I'm running into an issue that when a user is redirected to another page currently open DWR calls are not sent to the server because the page is unloaded before ...
-7
votes
0answers
39 views

How can Vert.X can be useful in web application development? [closed]

I was reading across the internet and I saw this Vert.X (http://vertx.io) . I do not have any background using this technology and in fact, I would like to get some advise to any one that has already ...
0
votes
0answers
26 views

Same script to validate two forms in the same wordpress page

Total newbie here. Just one question: I have the same form, a registration form, in the sidebar and in the footer of a blog site. The fields are checked using Jquery and Javascript for validation. The ...
0
votes
0answers
40 views

Unable to load java module by node js

I am trying to use the java bridge API in node.js. I have installed a java module locally and globally but nothing works for me. I am getting the following error: throw new Error("Cannot find module ...
-1
votes
1answer
44 views

Edit CSS through Javascript in Liferay [closed]

I am new to Liferay and I was wondering how I can edit the CSS of some parts of the Portlet by using Javascript. I am using Liferay 6.1 and Tomcat. Any suggestions on how I can do this?
0
votes
0answers
53 views

Allow users a dummy proof way to enter a file URL on website

We are using an applet to allow users to select documents they have stored on remote file servers. The applet returns the URL for that document and we save it for future use. The applet being used ...
-1
votes
0answers
36 views

How to retrieve values from an accumulated JSON array? [closed]

I would like to know how to retrieve the values in an accumulated JSON array in java (without the key). I found this post, which shows that the structure of an accumulated array is slightly different ...
1
vote
2answers
75 views

Javascript to Java Web Application

I'm currently trying to do a simple web project in eclipse, I'm completely new so bare with me. My goal is to have a .jsp/html file be a presentation layer, javascript to handle logic, and Java to ...
0
votes
1answer
33 views

Markup image with javascript and save

I am trying to add markup to an image. The user will be able to add text, drawings and images. I am guessing it is easiest to do this with javascript on the front end. My question is, what is the ...
0
votes
1answer
44 views

Java Jackson: deserialize complex polymorphic object model: JsonMappingException: Unexpected token (START_OBJECT), expected VALUE_STRING

I have this tree of objects A B extends A C extends B D extends B E extends C F extends A and has one reference to A A has the following annotation ...
-7
votes
0answers
40 views

How to pass a variable from android phoengap to javascript in index.html and vice/versa.Plz explain wih code(shld be working) [closed]

I want a communication between android phoengap droidgap class and javascript in index.html Plz explain with full code and also without any plugin.
0
votes
1answer
33 views

jsf ajax trigged after jquery validation function

I'm facing a problem within JSF ajax request and jQuery Event. I'm using jQuery event to validate a form part like this : jQuery(".btnNextStep").live("click", function(e) { var error = ...
0
votes
1answer
20 views

jqgrid readonly combobox

I am developing a web application using JSP & Servlet (IDE: Eclipse, Database: Oracle10). I am using jqGrid to display records in tabular format. I want to set combobox readonly in Edit dialog. ...
0
votes
0answers
37 views

Using HTML5 controls in Android native application

I have researching the chart controls lately for Android and to tell the truth, I'm kinda disappointed of the results! Though you can find tools to work with, are not sometimes easy to use or advanced ...
1
vote
0answers
15 views

Browse Servlet for CKEditor to Browse Database items

I have database entities called Category, Article, Poll etc.. I need to write a browse servlet for CKEditor through which I should be able to browse DB table rows to link up with text in editor. ...

1 2 3 4 5 96
15 30 50 per page