Tagged Questions
0
votes
2answers
22 views
How to make background process using ajax or jquery in jsp
I am displaying 100 list of records along with images and image coming form servlet.
Now thing is that i am loading image for later use like for poup thing.
so Is there any way that i can load this ...
0
votes
0answers
18 views
Jstl: disable javascript cache
I use custom tags in order to create some kind master page (template).
The construction is following:
// Template
<%@ tag description="master" pageEncoding="UTF-8"%>
<%@ attribute name="js" ...
-4
votes
0answers
36 views
How to get a java application to host a small site? [closed]
I have looked around for this quite a bit but couldn't find anything that suits me. What I am trying to do is have a java application output a small-scale website. On this website I currently have ...
1
vote
0answers
36 views
Outputting a PDF file using Servlet
I want to open a file using a servlet and JSP.
I make this code in my JSP page:
function action_consultation(grid, record, row, col) {
var url = "<c:url ...
-1
votes
2answers
39 views
Alter HTML field using Java Code [closed]
Is it possible that we can alter the field attribute such as the class="required" or the set is hidden in the HTML using JAVA code?
-4
votes
4answers
48 views
How can I start twitter development for Android? [closed]
I wanna make twiiter app for android with Java and Javascript language.
But I don't know what should I do first?
Please help me and share me some useful information.
Thank you.
0
votes
0answers
18 views
Mismatch in the Timezone from browser and java JDK
For one of the log in my application , I need to log according to timezones. I have implemented the code which work for most of the country or timezones . I have taken care of DST also.
Here is one ...
0
votes
0answers
20 views
How can I get data from JDBC + Java to Javascript with Vert.x?
I'm a noob with vertx, but I have already created the JDBC connection manager using a java class where I can print data from the result set:
ConnectionManager cm=ConnectionManager.getInstance();
...
0
votes
1answer
17 views
Tree node to support browser compatibility
I am currently working on an application page which works only for IE browser.The page contains a tree node which loads the data with single selection checkbox.
Code in JSP Page :
<xml ...
0
votes
3answers
58 views
Jquery event not called after update
I have a pretty simple JSF form on my hand like so:
<h:inputText id="number" value="#{bean.value}"
styleClass="integer" onkeyup="update()" />
I have a jQuery selector as well like this:
...
0
votes
0answers
9 views
java htmlunit runing external javascript in existing dom
How to I run a javascript on my HD in an existing dom?
java.util.logging.Logger.getLogger("com.gargoylesoftware.htmlunit").setLevel(java.util.logging.Level.OFF);
...
0
votes
1answer
34 views
Scraping data from website that uses javascript
I'm currently working on a program that checks University class availability but the website uses javascript to display classes and their times. Using Java, I'm working on scraping this data and using ...
1
vote
1answer
21 views
SSE Client Stops Working Anytime I Modify the Server (Server Sent Event)
I have a very simple SSE (Server Sent Event of Html5) with Java used on the server side. I have included both the client and the server below. The problem is that if I change the server side, even a ...
1
vote
1answer
50 views
Kendo UI Grid Json Data not loading
I have problem in loading json data in kendo ui grid. I am able to load data in data grid as per response1 because db-table has multiple records the values are perfectly loaded in grid.If db contains ...
0
votes
2answers
45 views
Display Excel sheet in web application - Java EE
In our web application we are using the snowbound viewer (http://www.snowbound.com/) for viewing documents. It supports all formats but only allows Excel sheet documents to be downloaded and viewed. ...
0
votes
0answers
28 views
How to deliver JRE address for a JAR file, that it can run an every computer?
There is a Java application (ELO Java client) into which is the Rhino engine as Javascrpt runtime environment integrated. You can use JavaScript in ELO Java client to run and control external ...
0
votes
1answer
43 views
Javscript wrapper for simple java program
I want to arrange to have a computer simulation with super simple IO (just print statements), than can run in a browser. I can program in java, but know very little about javascript. I have a feeling ...
0
votes
1answer
29 views
script construction is not proper if the name has special symbols
I am getting user name from the server side and showing it in the jsp as follows
String userName = getFullName();
request.setAttribute("userName",userName);
Jsp file
<div ...
0
votes
1answer
48 views
How to allow set of special characters in existing regex?
We have regex to validate password with one digit, one upper case letter and one lower case letter. Regex is:
^\w*(?=\w*\d)(?=\w*[a-z])(?=\w*[A-Z])\w*$
This regex will not allow any special ...
-1
votes
0answers
16 views
Google chrome is overwriting the latest saved password with wrong password which we entered 1st time [closed]
I am testing the some issues.... at that time i am facing following issue with chrome browser.
First Clear the Browser history and set browser to remember passwords.
after that I am trying to login ...
0
votes
0answers
38 views
Calling JavaScript Function in JavaFX WebView
I am trying to call javascript function in javaFx webview.
my js file is
function getHTMLOfSelection () {
var range;
if (document.selection && document.selection.createRange) {
...
0
votes
0answers
25 views
Browser Autocomplete ignoring jquery actions?
Im sort of a JS noob so please bear with me-- basically I have a form in a checkout process, and all sorts of JS that alters the appearance of the text inputs based on if it has been typed ...
2
votes
1answer
41 views
Grunt task to set JAVA_HOME
I am using grunt-jsdoc to manage the execution of jsdoc command, which depends on Java and needs to have the JAVA_HOME environment variable set. Assuming they already have node.js and Java, I'm trying ...
0
votes
4answers
34 views
Integrate JQuery with Richfaces
im newbie in the world of Js , my Jquery doesn't work with richfaces. I want to do something like this : http://jsfiddle.net/bFuEv/ .
This is my code in my xhtml file :
<!DOCTYPE composition ...
1
vote
1answer
39 views
403 Forbidden returned when attempting to save to database
I'm trying to save/update several records at a time to my database (sql-developer) using Spring and Hibernate. I pass my data via an ajax call through my controller, to the service layer, to the Dao, ...
-1
votes
3answers
20 views
Java ScriptEngineManager and DOM
Does anyone know any Java ScriptEngine that understand/include implicit DOM objects like window, document, self etc? I can't use JavaFX WebEngine as I am not developing JavaFX application.
-1
votes
0answers
22 views
Internet Explorer 9 Malfunction - Javascript not Working [migrated]
We are having the WEIRDEST of issues in the office today. About a week ago I created a new computer image of a brand new Windows 7 core i3 desktop PC that we were planning to deploy onto 13 other ...
0
votes
1answer
38 views
check success and error in ajax
I have a button in jsp like this.
<input class="submit_button" type="submit" id="btnPay" name="btnPay" value="Payment"
style="position: absolute; left: 350px; top: 130px;" ...
0
votes
1answer
57 views
onClick function is causing “Uncaught SyntaxError: Unexpected token }” error
I have a problem, I'm trying to dynamically add some html via javascript, and the html has a js function that's supposed to trigger when it's clicked, but I keep getting this error no matter what I do ...
0
votes
2answers
42 views
JavaScript to java, difference in Array Creation
-In JavaScript you can use a generic value type var
-In Java you must use explicit value types double, int, String etc
-In JavaScript the Array can have also heterogeneous values.
-In Java an array ...