-6
votes
0answers
18 views

Mozilla submits twice request in iframe

whenever i am using Tiny box or simple Ifrmae at the time of binding src requesting is going two time on controller.
0
votes
0answers
5 views

Calling Axis webservice from jquery

I would like to call my Axis webservice using following code var wsUrl = "http://localhost:8080/TestServ/services/TestCls?wsdl"; var soapreq = "<soapenv:Envelope ...
4
votes
1answer
37 views

javascript variable lifecycle in the java method

I'm using javax.script to execute javascript from a java method. In my java method I invoke different functions defined in javascript. On the javascript side I want to keep a global variable so the ...
0
votes
1answer
19 views

javax.script pass to javascript a Java method to use as a callback

I'm using javax.script to embed javascript code to a Java method. In my project the javascript takes care to send asynchronous http request through a websocket. Once a response is received I need to ...
0
votes
1answer
31 views

Connect JavaScript to Java

I have the javascript on web page and Java Therad running. All is in spring-MVC framwork. My idea is that I have in jsp site javascript code. The controller make game therad wich be in java. But I ...
1
vote
2answers
44 views

How to check ranges of java versions in javascript?

I am stuck: how to check if a user has a specified java requirement? I need to find ranges (for instance java versions between 1.5.0_10 and 1.6.0_10). I am using javaDeploy.js from Oracle and using ...
-1
votes
0answers
11 views

Sending a file from java webapp to PDF.JS

I need to open a pdf generated by my java webapp in PDF.JS viewer. PDF.JS api accepts typed array (Uint8Array), so I am assuming I need to send the file somehow as a bytestream over http get/post, but ...
0
votes
2answers
24 views

Accessing a Java Map inside a scriptlet

I've got a Java Map object imported into a JSP file that I'm working with. What I need to do is take each entry of that map and put it into a table in the JSP. I'm not going to act like I'm super ...
1
vote
0answers
23 views

Checking if Java Platform SE is enabled on Firefox

I want to run applet on client system but before that I want to check if java plugins are installed and enabled There are two java plugin in Firefox. Java Deployment Kit Java Platform SE I want ...
-1
votes
1answer
37 views

Making the application browser specific

The tested and supported platform for my application is Windows based computer with IE as browser. If the browser which the user uses is not Internet Explorer then my application should not permit the ...
0
votes
1answer
35 views

HTML Validation in PHP File

I am working on some Apache Ant Project in which i am using .jar to validate html. The ant script takes the *.html files and validate it and display if errors are found. The .jar is not working for ...
0
votes
0answers
50 views

getting id from a jsp page using javascript

I have a page that contains the following code: <td id="td-id-<%=tdId%>" class="<% if (scheduleList.get(key) != null && scheduleList.get(key).length() > 0) { if ...
-5
votes
1answer
45 views

How to Upload image using servlet

I want to get all the information of employees into my jsp page. I also want to get employees photo and show as soon as employee upload the photo into the jsp page. How can i do it? plz help me. ...
8
votes
1answer
69 views

Regex to validate International email

Not sure if there is a solution available but not able to find. So asking it again. I am writing an email validator. This should validate all well formed email(This is just one level of validation to ...
0
votes
0answers
16 views

How to detect ActiveX controls in IE 8/9/10 without having to instantiate ActiveXObject

Is it possible to detect which ActiveX controls are active in IE 8/9/10 using JavaScript (or some other technology - possibly Java?), in a way that is more extensible and dynamic than attempting to ...
1
vote
1answer
24 views

Set header web socket?

I want pass blob data to java server using web socket. My java server is: providerSocket = new ServerSocket(2007, 10); System.out.println("Waiting for connection"); connection = ...
0
votes
2answers
27 views

JQuery Fetching the cell of the last row of a table and can we use autocomplete to hide some value in it

My first query, my code goes like this suppose a table with 5 rows and id = "mytable" and 3 cells in it $("#mytable tbody tr:last td").each(function(i, td){ alert("value "+ " "+i+" "+td); ...
-1
votes
1answer
34 views

What is the best way to get the fields from a HTML form, and send them to a Servlet using JQuery/Javascript? [closed]

Using jQuery I've found solutions such as this: $("#submit").click(function () { alert($('form1').serialize()); $.post("submitForm", $("form1").serialize(), function (result) { if ...
0
votes
1answer
28 views

Javascript Android - plot ECG graph without using 3rd party API's

I need to plot an ECG graph using Javascript without using any API's. I will get a response (graph-co-ordinates) from the server and i have to plot a graph. It can be done in Javascript "CANVAS" or ...
0
votes
2answers
31 views

javascript get parameters when hover href inside a loop

I have the following problem: var xmlhttp = new getXMLObject(); //xmlhttp holds the ajax object $(function() { $('a.popper').hover(function(e) { if(xmlhttp) { ...
0
votes
0answers
25 views
0
votes
1answer
50 views

Get url parameters without splitting [duplicate]

Is there somebody who can get the Parameters from the a href class="popper" without manipulating them (in javascript) <a ...
0
votes
1answer
60 views

Calling Java Method from Javascript in Android Project - PhoneGap

I have the following Java Class package com.phonegap.plugins.video; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; ...
0
votes
2answers
44 views

Call Javascript from Java - Android

I have app using android webview. I tried to call javascript from Java. I have the line below which I expect to display hello world but webview goes blank. webView = (WebView) ...
0
votes
1answer
36 views

Get Project Structure from Eclipse?

I have an eclipse project with lots and lots of packages and .java files. I was wondering if it is able to retrieve the project structure in some text form / json form from eclipse? Package1 ...
2
votes
1answer
39 views

Implementing anonymous user voting [duplicate]

I am building an anonymous voting system for my web application. My goal is to make a system that each computer (device) can perform 1 vote only. I know the best way to achieve this is not to ...
-1
votes
1answer
40 views

FaceletsException: The entity name must immediately follow the '&' in the entity reference [duplicate]

I'm currently working with eclipse (jdk/jre 1.7 ) and i'm using logical and operator in a javascript function : if (obj1.line && obj1.from && obj1.to) { line = obj1; ...
0
votes
2answers
44 views

Get parameters from a href and use them in javascript

I am making an ajax servlet-response with 1 servlet and 1 jsp page. It already works but I always get the same parameters back from my last value of my "a href" which is in c:foreach loop. as you can ...
0
votes
2answers
26 views

Displaying waiting page before processing the request in Spring

actually I am developing a application using Spring MVC, in one case I have to make the user to wait for the results by displaying a page..and once the back end processes the request..the results will ...
1
vote
1answer
36 views

Javascript vs Flash vs Java for collaborative rendering in browser [closed]

I want to create an application which will perform distributed rendering, where user's browsers will be used as computational resources (nodes). I.e. each user will enter to the site, then request ...

1 2 3 4 5 169
15 30 50 per page