Tagged Questions
0
votes
0answers
12 views
How to interpolate Spring Java in to JS?
I'm trying to pass the context root of my app to js, but I can't seem to format correctly.
Here's working code:
var href = "http://services.google.com/earth/kmz/city_london_timeline_n.kmz";
Here's ...
0
votes
0answers
7 views
Use a .java file for Triple DES and for creating checksum in a php file where data is recieved from a form
Guys i have this long php page.Here in this
function generateToken($encrypted_data)
{
$token_id = "************";
$api_key = "*********wMBnTH";
// CC data to tokenize..
//Payload ...
0
votes
1answer
15 views
Java FX application onload event
I am implementing an application in java swing java fx with Google maps API.
My problem is this, I need when the map is loaded runs a javascript.
I've be reading of the method: ...
1
vote
1answer
16 views
Plugins of AngularJs for eclipse juno
I am working with angular js in my eclipse ide but i could not find good angularjs plugis for eclipse.
I went through https://github.com/sbegaudeau/AngularJS-Eclipse-Tools and it was not giving me ...
0
votes
1answer
19 views
How to Edit and delete jQuery data table each rows
How to edit and delete jQuery data table each rows.I am using jQuery dataTables.js Library.
Is there any function to do that..i am new for the dataTables.js
3
votes
6answers
31 views
Java convert html with css+js to pdf
I am developing a JSF project and I have a doubt about reporting.
The idea is to offer the users reports in both HTML and PDF formats.
This should work developing the reports in HTML+CSS+JS and ...
-5
votes
0answers
29 views
Remember edited form info if you change tabs and yo're back in the tab with edited form [on hold]
my question is a little bit strange but I need to implement something like that in my project.
So I need something like a a jQuery or java or something else that remember info when I edit a form in ...
0
votes
1answer
25 views
how to get data from map in controller SPRING MVC
how to get data from map in controller SPRING MVC
Please help me how to get data map in controler SPRING MVC i put the data map to like that
map.put("error", "x");
<script ...
1
vote
0answers
8 views
Accessing BIRT Elements from script
I have BIRT Text element in Master page:
eg: elementID : 175
element name :myElement
also I have a PI chart: and once I click on its categories I want to invoke a script and write some text to ...
0
votes
1answer
60 views
How to pass 2 values in function call in jQuery
Hi I have jQuery function and in that I have called servlet in that and also passes 2 values with it but it shows NullPointerException.
I don't know why but I think I am wrong in placing arguments in ...
0
votes
2answers
26 views
how get data from controller when usin map
Hi i am using spring MVC..i wan to give some alert to user when pass some value from controleer.
this is my part of controller:
@RequestMapping(value="/deleteTeam", method=RequestMethod.POST)
public ...
2
votes
2answers
17 views
Best java tool to cache and minify the dojo, jquery js and CSS
The dojo and jquery libraries are downloaded from google CDNS and used in our project. I am looking for a java tool which can cache and minify these tools. The cache should happen inside the ROOT ...
2
votes
4answers
26 views
How to use script variable in scriplet
Can anyone help me to get the value from name variable and store it in name_val?
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
...
1
vote
0answers
8 views
Click button in Htmlunit
I am writing a program in Htmunit where I need to fill in two fields with text, but to get to these fields I need to click on a button to allow for the fields to appear on the screen. I cannot create ...
0
votes
0answers
15 views
KML better approach than standard google api for large number of markers
Developing a google map which is powered by an underlying report. The report is dynamic and can be changed by the end user. In addition users have the ability to set threshholds on the map which ...
0
votes
1answer
28 views
Prevent continuous F5 on a web application
This is related with handling the scenario when some crazy user is holding down the F5 key to send unlimited requests to our server.
Our application is very much database and cache intensive and when ...
0
votes
1answer
11 views
Java to javascript communication (LiveConnect) broken recently?
Look at this link:
http://www.chemaxon.com/marvin/examples/applets/sketch/chemicalterms2.html
This applet is trusted, signed etc. but I can't find configuration (OS/browser/Java) where it works...
...
0
votes
0answers
10 views
netty-socketio xhr-polling regression?
Last week i decided to upgrade my version of mrniko netty-socketio from version the old version 1.0.0 to the newest 1.5.2, i upgraded old dependencies too.
But now xhr-polling doesn't work, and if i ...
0
votes
3answers
31 views
How to display dynamic parameters in an HTML Email using javascript?
I retrieving the Off time of a page and returning offtimeQuery.toString() and retrieving the page title String resultPageTitle = resultPage.getTitle(); using java.
I am sending an email to the ...
0
votes
1answer
13 views
how to select multiple node in D3.js and Send them to Servlet
i have an application in D3.js where i have a network like structure.i.e a node is forming another group of nodes and so on,so i am able to send the values of each node to the Servlet .but now i have ...
1
vote
2answers
39 views
calling a REST service from jquery
I have created a REST service at "/post/search/{id}" and when I call this URL from my jquery code sometimes it gets called sometimes not. What is the exact problem in it. Is it regarding jquery or my ...
0
votes
0answers
19 views
How to Run Spring Tool Suit IDE in Windows
Hi can anyone help me on Spring Tool Suit IDE Running . I installed Spring Tool Suit IDE Running to my system and one shortcut is also created in my desktop but while clicking on that i am getting the ...
2
votes
1answer
23 views
Prevent HtmlUnit 2.13 from executing JavaScript
Here is my code to get the page:
WebClient webClient = new WebClient();
HtmlPage page = webClient.getPage(url);
The problem is the webClient always executes javascript automatically and throws me a ...
0
votes
1answer
35 views
how to show error msg in my jsp page as a popup alert
I am using java Spring MVC,i want show this msg for user..
This my part of controller
@RequestMapping(value="/DeleteTeam", method=RequestMethod.POST)
public String ...
0
votes
1answer
14 views
How to fetch the document mode of Internet Explorer in JAVA
I am trying to fetch the document mode of the browser i.e IE from the given function.I knew that in javascript we can use document.documentMode to fetch the doucment mode of IE. But is there any way ...
-2
votes
0answers
17 views
how pagination implementation should be for server+client side pagination? [on hold]
We have application connected to database with 5k+ records. We are displaying these records on jsp in our application. We need to implement pagination now.application first should get total records in ...
0
votes
1answer
37 views
Refreshing (updating) individual rows of a table with the data returned by the action class using ajax call
from so many days i am trying to get this done,but m failing.
Have a look at my jsp once below:
Here i have one table and all each row i have refresh icon,i want to refresh individual row when ...
0
votes
1answer
29 views
HTML inside JSP if() statement not working
Thanks for the help. It was and error with having variable equal b instead of b equals variable.
0
votes
2answers
21 views
How do I move to last record of database with a button in JSP, using JavaScript function
So i have created a code that display database record into a html textbox and I am able to move to the next record and move back a record using a javascript function that I assign to a button. but i ...
0
votes
2answers
32 views
Coordinates to address script not working [on hold]
My intention is to:
I will get coordinates, convert the coordinates to addresses and show markers with infowindow on map. I have the code:
http://www.aktivitetsportalen.net/test/coordinates.html
...
1
vote
0answers
114 views
What are the major differences between Dart and Java 8 / C#? [on hold]
I am a Java developer and recently I started reading about the language Dart and the more I read, the more I have a feeling it's very similar to Java 8.
For this question not to sound completely ...
0
votes
2answers
45 views
Floating point representation can support larger values in comparision to integer representation
I have googled over this,but couldn't find how, although it is a simple thing to answer for someone who knows it. I want to know how floating point can store large numbers which can't be stoed by ...
0
votes
0answers
25 views
Atmosphere Framework one to one chat
I have some requirement for Live chat for my company Website.
My main requirement is,
There are 5 agents in my office which responds to customer queries.
At a time many Customer can ask questions, ...
0
votes
1answer
42 views
Extend HashMap putChildren method
I'm very new on Java. I'd appreciate it if your answers considering this situation.
I have question, I want to develop a programme about extend the hashmap to add putchildren method. I wrote ...
-1
votes
4answers
31 views
highlight text at run time by pressing search button
I have made a small program that search value from a div...it show first location of the word
But i want to make that searched word highligheted after pressing search button at all repeated location..
...
0
votes
0answers
37 views
JasperReports: Print a report directly at client side printer
I am using JasperReports for generating the reports.
My requirement is to print a report directly at client side printer.
I tried JasperPrintManager.printReport(JP_Print, false) method for printing ...
0
votes
2answers
44 views
Spring request mapping in jquery grid
i want to invoke method in POJO class in jquery grid script .
jQuery("#list2").jqGrid({
datatype: "json",
url:"/showStudent.do",
type:"",
colNames:['Student Name','Age', 'Mobile'],
...
0
votes
2answers
21 views
Applet JavaScript Communication
On my web page I am running an applet and in order to warn user for certain inputs to the applet, I am using printing the errors to the html page. In order to do this I am using javascript applet ...
-5
votes
1answer
32 views
How to small program use of reflection and Writeout method on Java
I am new on Java. Please help.
My Question is here:
The following question should be implemented using Eclipse development
platform. Write a small program to demonstrate the use of reflection.
• ...
0
votes
1answer
47 views
full path from fileupload using javascript
Hi I want file path from the user input. I read multiple questions online mine isn't about getting full path from file upload. I already know it is not possible, according to browser security settings ...
-1
votes
0answers
28 views
Best web frameworks to build dynamic web forms [on hold]
i there
Whats the best java or js web framework to build forms dynamically from a given database table schema, or from a preconfigured file in json or XML? For example, a web framework with a ...
0
votes
0answers
11 views
How to add offline brazilian portuguese tts on an Android app?
I'm developing an Android learning app that must support text-to-speech feature. This app is made in Java, of course, but can support javascript.
The problem is that it must be useful even without ...
-3
votes
2answers
34 views
How can I speed up this JavaScript painting app?
Alright, I've built a paint app that includes a paint bucket tool using HTML canvas. The problem with the paint bucket is that, even though I made it as efficient as possible, it takes a long time to ...
-1
votes
0answers
9 views
editing a Microsoft document and uploading it back to the server
In a web application, can we edit a Microsoft document and save it back to a server (Like sharepoint). Need to worry about versioning, security.
The tentative plan, is to have two parts: at the front ...
1
vote
0answers
36 views
Launching External Intents Works on Cordova 1.6 but not on 3.0 Android
I have been developing a Cordova (Phonegap) App that will be able to launch external activities. When using Cordova 1.6 everything works fine, but when I use cordova 3.0 the plugin will not work and I ...
0
votes
2answers
54 views
How to get client MAC address in java servlet? [duplicate]
i want to identify a client machine uniquely from servlet.
Basically my application is about to take visitors detail. In my application i have offers for a user who visited me first time. In this ...
0
votes
0answers
47 views
How to use innerhtml function in JSP
Hi i am current working on a task in which if the size of characters is more than 200 than it will substring the characters more than 200.if i give a simple text than it is working fine but if i ...
0
votes
1answer
51 views
Fade a JSP page
In my project, i want to make a jsp page faded when a button is clicked and show the parent(behind) page.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; ...
0
votes
1answer
60 views
Getting wrong value from session in javascript, How to use session in javascript?
I am using following code to get session variable value in javascript embedded in a JSP:
var numberOfPages= '<%=session.getAttribute("numberOfPage")%>';
I am getting a wrong value (old ...
0
votes
4answers
73 views
How to retrieve the values from previous jsp page to result page?
I am creating a quiz application. Here, there are 5 jsp pages with 5 different quizes. If I use 1 jsp page and result page, it is working fine..i.e; It is redirecting from QuizPage5.jsp and show the ...