-1
votes
1answer
19 views

Not being able to get data from website

I have run into a problem in my Android application where I could not get specific data from a website. My app just crashes. Here is my code: private void AddListenerOnButton() { spinner = ...
0
votes
5answers
50 views

parse json list in reverse order

I have pulled a list of objects from a json file and parsed them how I want them. The only problem is that I want them to display in reverse order on the HTML Doc. Example of json list. { "s1":{ ...
-1
votes
0answers
25 views

Accessing databases in Netbeans

I am doing a project in Netbeans and I am trying to access a table from the database in a frame in Netbeans. There are two tables in the database and I am wanting to access each table in differnet ...
0
votes
1answer
34 views

Cannot get specific content off of website

I am encountering a problem where I cannot put the URL in the stringbuilder. What I am trying to accomplish here is to just get a particular part of the page. Here is the webpage I am trying to get ...
2
votes
1answer
16 views

How to display tooltip (title) of option text in Tapestry 5.3.6 palette component upon mouseover?

Is it possible in Tapestry 5.3.6 display tooltip (title) in palette component if the option text is too long to be displayed? I am interested in cases where option texts are almost identical, but they ...
0
votes
1answer
23 views

Send file download request using JQuery POST

I am rewriting some code that used to use GET and replaced it with POST. The download URL used to be a GET request to https://myurl/getfile?fileid=1234&filetype=pdf Now, I changed that to ...
0
votes
1answer
34 views

Passing value from javascript to tapestry java

I'm developing at the moment a website and I want to handle onHover event in tapestry. For getting the wanted value I use javascript (jQuery) in this way: $(document).ready ( function(){ ...
0
votes
1answer
34 views

how to set value in Option onchange selection in Jsp

<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
0
votes
0answers
9 views

TripAdvisor API for posting a review to trip advisor

A possible client of mine wants to use the TripAdvisor API to have hotel guests send their reviews to that site, if they so desire. The feature is to be a part of a mobile app. I have did some ...
-1
votes
0answers
39 views

Minify JavaScript, HTML, CSS using Java

Basically I need three function: String minifyJavaScript(String javascriptBlock) ... String minifyHtml(String htmlBlock) ... String minifyCss(String cssBlock) ... So when I call, for example ...
0
votes
1answer
29 views

Invoking a Javascript funcion in a complied script in Java's Script API

So, I have some code where I am successfully loading and compiling a script. This is working great. Next, though, I want to be able to call a function inside the compiled script. Unfortunately, I ...
1
vote
3answers
69 views

Problems with server

I am making a game server, and I have to lead it to Java. I have done that, but it says "The system cannot find the path specified. The path is ""c:\programfiles\Java\jdk1.7.0_25" Which I can follow ...
0
votes
1answer
20 views

Data error while tring to display a YUI DataTable in Spring MVC

I am doing a project regarding Spring and YUI Data table. I am using controller to return JSON string and at the view will use the JSON string as data source to generate a data table. But somehow ...
-7
votes
1answer
45 views

How to make an AppleScript that copies HTML source code from webpages? [on hold]

I just want to know how can I make an AppleScript that copies the source code of an open webpage to the clipboard OR Can I make a script that searches for a specified class on the webpage and copies ...
0
votes
1answer
29 views

How to fetch data that will be stored in the select option value in the form?

I want to dynamically fetch or get data from database and populate the select box. This is my code: <form action="addchangerequest" method="post"> <select name="type"> ...
-3
votes
1answer
25 views

How to populate data in Extjs Combobox from Java [on hold]

I want to populate data from Java to Extjs Combobox. I've a function in java class, which returns List object. I want to populate the same data in Combobox. I'm using DWR to link Java and JS, (i.e., ...
1
vote
1answer
17 views

How to insert javascript inside a java scriplet in JSP?

Here is my function: var boxName = document.getElementById('searchBox').value; How can I put the value of boxName inside the scriplet like this? ...
0
votes
0answers
18 views

window.print() error on IE10 on Java web start app

I am having an issue on Java Web Start application, it gives me an error when calling window.print() javascript function, the default & compatible browser for this is IE10, it works fine on IE9. ...
0
votes
0answers
15 views

Java FX liveconnect - calling javascript function from FX application

I am facing a problem, I need to communicate from Java FX application to browser. Prior to that I found info as: var jsObject = netscape.javascript.JSObject.getWindow(applet); ...
-1
votes
0answers
56 views

Groovy to Excel command(s) [on hold]

How, in Groovy, do I select an excel sheet1 and autofit? I also needs to insert a row at Row 1. How do I do this in Groovy? Everyone is suggesting to use Apache POI but my work has decided to stick ...
-3
votes
0answers
25 views

connection between chart and DataTable [on hold]

I have a problem to conversion of database type in MySQL. One of my database elements in the datatable is in Timestamp type and when I run my program in horizontal axis it is just "timestamp" string ...
-1
votes
0answers
27 views

How to edit video in browser, client side? [on hold]

I am looking to do the following on the client side in a browser: Load a local video/audio file Decode + edit audio Create a new local video file with new audio What strategy should I use to ...
-1
votes
0answers
28 views

Parse Java Calendar to JSON

I recently ran into this problem, where I have a object whose member variables contain Calendar instances, like private Calender creationTime; I am trying to parse the object into JSON, so I did ...
0
votes
1answer
29 views

Pass remark from user as string to java bean

I need to accept a remark from the user on button click and pass it as a string to the managed bean behind. This is what I have on the jsp page- <h:column> <button ...
0
votes
0answers
17 views

SmartGWT scrollTo function is not woking for tabs

i am trying to use scrollTo(left, top) function to scroll to the selected tab but it is not working, is there any other method that do the same functionality in smart smartGWT ? my code : ...
0
votes
0answers
23 views

Get javascript generated HTML code in Android

I am trying to develop an Android application for a website (which is not mine). Since most of the page from this website is generated with javascript, I need some kind of framework to get the HTML ...
0
votes
1answer
33 views

Slow file dialog in java applet

I have a java applet I am using for uploading from interenet explorer in my web site. when a button is presse on my site , a javascript function inits the applet and calls the applet's ...
0
votes
1answer
43 views

How to parse javascript in PHP page with Java?

I want to retrieve a value of a javascript section in a PHP file with my application in Java. The PHP page contain something like : <script type="text/javascript"> var tab= new Array(); ...
0
votes
1answer
31 views

facebook multiplayer game development

i want to develop a multiplayer game for facebook for a university project.Which language is perfect for multiplayer game development. Is it possible to develop it using java? i have watched some ...
0
votes
1answer
43 views

Message Prompt Using JSP and Servlet Java

I am trying to implement an alert prompt using Javascript and JSP at Login but I cannot seen to Succeed. So far all that I have is an error Message Which I would like to come as a prompt. Please Help. ...
0
votes
0answers
21 views

entity framework many-to-many relationship deleting objects and creating references

so im using angularJS to pass a dealer object to my controller. Each dealer object has a virtual ICollection. I use HTML multiselect to add contact objects to the contact collection in Dealer then I ...
0
votes
1answer
27 views

Refeshring JSP page in Javascript

I am trying to refresh the JSP page after certain operations, I am using DWR to be able to use my classes in Javascripts in the JSP files so I have this code: function removeDN(numplanindex){ ...
-1
votes
0answers
31 views

How to load a pop up from spring. Need to refresh and focus on parent wiindow when pop up closes

I have a page displaying a list of items. I need to display a pop up on clicking "Add New Row" button where the user can add a new row. Also on clicking "Save" in child window, I need to move the ...
0
votes
0answers
21 views

How to internationalize the date value in jfree chat? [duplicate]

Can any one please tell how to internationalize the X axis date value in jfree chart. See thie example http://www.java2s.com/Code/Java/Chart/JFreeChartTimePeriodValuesDemo2.htm . I want to show the ...
-1
votes
0answers
15 views

Web / Desktop application with tray and fast update [on hold]

I am backend-developer in web-applications and now i have task to create windows application with using system-tray. But i want to update it very fast and safe (thin client). I think it will be very ...
0
votes
1answer
43 views

call applet method from javascript

i want to call a method startApp() ,located in the java applet file from a java script file. i tried the following method <APPLET name="drops" code="BigDrops.class" width=700 height=650 ...
0
votes
3answers
97 views

Play Framework: Controller action runs every load

Does anyone know why my action runs every time I reload a page. I have a page with a button that should run when I click on it. But now it seems to run when I load the page. Here is my button and ...
-1
votes
1answer
38 views

Strings rendered as square boxes in linux? [on hold]

In Linux system the Chinese and Japanese languages are looks like square box. But in windows it works perfectly. So how to solve this problem.Can any please assist me. Thanks.
1
vote
2answers
47 views

Parse arithmetic expressions using JavaScript (via ScriptEngine)

Here's my complete code for reference, in case the error has nothing to do with the block in question: import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.*; import ...
0
votes
1answer
46 views

Javascript md5 hash of image to compare with Java

I am getting a different hash from javascript then I do from java ... I am hoping someone can explain and help to correct this. The History I am trying to connect to a third party from a mobile app.. ...
-1
votes
0answers
6 views

How to make calls for the APIs of a Browser Toolbar/Add-on

One of our clients has requirement for toolbar add-on development and that has be written in java script. But the new requirement was that there should be an automation script which can invoke the ...
2
votes
0answers
23 views

How to get ajax added contents on web page using selenium webdriver?

I have written a code to scrap some information from one of the website. For scrapping purpose i am using Selenium Webdriver. Now my problem is, there are some information present on one the page but ...
1
vote
0answers
47 views

Does Nashorn have meta programming similar to Groovy metaClass?

Just wondering if it's possible in Nashorn to extend a Java Class at runtime, similar to that of Groovy's metaClass? I have been looking into InvokeDynamic, but I'm not sure that's what I want and ...
0
votes
2answers
30 views

parse HTML javascript to JAVA using selenium

I am trying to get the value of h1 as a string using selenium. Here is the HTML javascript- <script type="text/javascript"> $(window).load(function() { var $windowHeight = ...
0
votes
1answer
15 views

What is ByteArrayEntity and equivalent in JavaScript

I have tried reading through all of the documentation I can find on this and am still confused about what this actually is and how it will be received. I am trying to recreate a connection api ...
0
votes
0answers
48 views

implementing fullcalendar with struts 2

I'm trying to implement fullcalendar in my webapp with struts2, I have an action that generates the json events but there is the problem, I have checked debug mode and my JSON event is being generated ...
0
votes
1answer
39 views

JavaScript file cannot be loaded and executed in Eclipse web app

I have a dynamic web app developed in Eclipse using Tomcat. My web application folder is WebContent which has the following structure: WebContent |_____WEB-INF | |__ web.xml ...
1
vote
1answer
36 views

Cloud Endpoint parameter should not be named

I want send a HashMap<String, String> from JS application to my Google App. I created a HashMapContainer class such as in : Cloud Endpoints Collection Parameter. The Endpoint method is defined ...
0
votes
1answer
44 views

Richfaces: how to render ids based on event.rf.data returned after an event dataavailable?

I am working on some Java JSF and Richfaces 4 application, I'm new to all those technos, including Java, so everything you can tell me, even basics, could help me :) . I have an a4j:commandButton ...
0
votes
1answer
19 views

How to call method in applet from JarClassLoader and Applet Launcher which returns string data

I'm trying to call a method in Applet1 which is my main applet from JarClassLoader used for calling this applet .And there is an AppletLauncher applet from where i'm launching Applets .My code is like ...

1 2 3 4 5 109
15 30 50 per page