Tagged Questions
0
votes
0answers
18 views
Dynamically displaying divison from data being fetched from database
I was tring to make a question answer forum in which each question being displayed is having three divisons : Answers Count,View count,Question.So for achieving this I do something like this :
...
0
votes
1answer
36 views
Compatible AES algorithm for Java and Javascript
I need to encrypt some values in Java application using AES algorithm, and decrypt the same in my Javascript module of my application.
I saw some examples over the internet but it seems there's some ...
0
votes
2answers
21 views
rotate recipient of my webform submit
I need to add a code to my sendEmail.php bellow which would rotate evenly between two or more recipient. Right now all goes to one recipent "sendto" [email protected]. So I want to add more ...
-5
votes
0answers
29 views
Coding Santorini Game [on hold]
Guys I have a project on Santorini game it's A (5*5)board gameExplaining the game
My Question is How Can I make 2 methods PossibleMoves() & PossiblePlace() where PossibleMoves returns all allowed ...
0
votes
1answer
15 views
GWT Warning: “Call to Enum method toString when enum obfuscation is enabled”
I use GWT 2.6 with the option:
<set-configuration-property name="compiler.enum.obfuscate.names" value="true" />
When I compile I get the following warning.
[WARN] Call to Enum method ...
0
votes
2answers
34 views
how to pass list of list values from jsp to servelet
I have one requirement like when user selects multiple rows which indicates computer parts
and clicks submit i have get all selected parts in servlet and then i need to create part object and set ...
0
votes
0answers
37 views
Is it really required to study the J2EE frameworks? [on hold]
I am a Java programmer. I'm getting a two month break from college, so I have decided to learn some new stuff. I'll be learning Android app development, and some PHP well as JavaScript. But recently I ...
-1
votes
0answers
10 views
Recurring billing with credit card acceptance on provider site
I need to change the recurring billing amount for each month through API (not wizard) , Is there any API to do so. ? I'm using java platform to achieve so, even if there is any JavaScript solution to ...
0
votes
0answers
3 views
How to embed Mapkit of Cordova into DOM?
I tried many ways but i couldnt succeed in embedding Mapkit into DOM. Please assist me
This is the plugin i'm using:
[https://github.com/imhotep/MapKit]
-2
votes
0answers
20 views
fetch data from webview and call a method on android
I am confused with an error on my android code...anyone pls help me....
i write a javascript interface to fetch data from webview on android and after that call a method but its not working pls help ...
-5
votes
0answers
15 views
Samsung Andorid USB Driver for Windows 7 [on hold]
I am having trouble to download the Android USB driver on my windows 7.
Every time i clicked to install its telling me that the driver has stop working i don't know what to do please.
I have checked ...
0
votes
1answer
9 views
Unable to compile class for JSP after Jquery UI.js file included
I have a small problem in my web application.
Situation is that when i include jquery ui.js and also some css file of jquery ui my entire page crashed. but when i again remove the jquery-ui.js file ...
0
votes
1answer
23 views
Get all the questions from database at a time or one ques at a time? [on hold]
I am working on Java Quiz web application using spring, hibernate, jsp and mysql. I am in confusion whether:
to get all the questions stored in the database at a time and send it as json to the jsp ...
0
votes
1answer
23 views
How to implement a simple website counter for myself?
I have a website , where I like to keep a count which is pseudo-private. By "pseudo-private" , I mean it will be an un-linked URL somewhere in my site. And just use by me(think diet or ...
0
votes
1answer
16 views
HttpUnit and Parameters Hidden with Javascript
I am trying to write some test cases in HttpUnit to test a website that has a lot of Javascript in it. The HttpUnit works great - provided I have Javascript disabled through ...
0
votes
0answers
15 views
In my Application under test when I run a script a random dialog Box appears and then vanishes instantly. However it causes my code to fail
In my Application under test when I run a script using Selenium Webdriver (Java) a random dialog Box appears and then vanishes instantly. However it causes my code to fail.
On checking the console I ...
0
votes
1answer
18 views
Parse HTML Content and Fetch Text in JAVA, Android
I am working in Android application which fetch html data from website and parse only text (How it works, Search, Community etc) and display on screen.
I managed to fetch the data from website and i ...
0
votes
1answer
27 views
Call parameterized javascript function from servlet
The button "Refresh for New Query" is for lazy users who doesn't wish to type their query and instead read it from file and store in String variable h. If user clicks on that "Refresh for new ...
-2
votes
0answers
23 views
Increasing a counter value after page redirection
I am making an online exam project for which the question number counter should increase after every question has been entered into the database. My question number, however, gets reinitialised to one ...
0
votes
2answers
25 views
Inserting into database table with auto generated numbers through javascript
I Have created a from for my website. My form posts into two separate tables, namely: 'members' and 'users'
My form seems to input into my database fine, apart from under Membership Type ...
0
votes
1answer
42 views
Coding HTML/Javascript to Generate a HTML file
I'm trying to get a code in which users enter in their username and it creates a html file for them. I'm having a hard time getting the code to work and would appreciate some help. Also, if I were to ...
3
votes
2answers
52 views
promt user on backspace and browser backbutton in gwt
I have two classes when navigating from one class to another created history. Now, I want to prompt the user by a confirm whether user wants to leave the page or not.Till now , I tried using ...
0
votes
1answer
35 views
how can we use onbefoerunload in GWT
I am creating a fuction that prevent the user when he reload the page or press a back space or press back button of Browser . i try the following cade..
$wnd.beforeunload=function()
{
return ...
1
vote
1answer
32 views
How to show popup while uploading file using inputfile adf
I am working with adf in jdeveloper. I have an af:inputfile which use valuechangelistener to check the file type and then upload to server.
I need to show popup (with loading image) while these ...
0
votes
0answers
47 views
giving an JSON request in java?
POST https://www.googleapis.com/admin/directory/v1/users?key={YOUR_API_KEY}
Content-Type: application/json
Authorization: Bearer ya29.1.AADtN_UXi1QH4TBqXBR_FxQLMEkkm1z329tou- ...
0
votes
1answer
38 views
Large data from Javascript to servlet
I have very large data like say a 100 lines text file in my <div> tag,
So I want to passtint to my java servlet and I've tried the following methods by getting the <div> value in ...
0
votes
0answers
8 views
Rhino - Scriptable method: Object get (String name, Scriptable start) not finding the correct key (numeric string)
I'm using Rhino to parse a javascript object into my Java application and I wish to understand about the behavior of the get method of the Scriptable object.
My javascript object is similar to this:
...
0
votes
0answers
25 views
New CIS undergraduate looking for help (f) [on hold]
As a new CIS undergrad going into Java, what are some ways to start learning to program so I can get ready for the fall?
-5
votes
0answers
12 views
creating an interactve web interface with java that allow to user to drag and drop components and save it to XML file to store a BUSiNESS RULE [on hold]
i am beginner in java and i have a project to make a web interface with java that allow to user to desigh there BUSINESS RULES. and the applicaton must save the graphical model to an XML file definied ...
0
votes
2answers
21 views
Returning a list from Java and displaying on HTML in play framework
Hi I am trying to list the words in a HTML div.The list of word is coming from Application.java in controller in play framework.Following is part of Application.java which returns the list.I am not ...
0
votes
0answers
10 views
Using JNativeHook from an applet in browser
I am trying to use JNativeHook from a browser applet to grab a certain keyboard event. I am getting some strange behavior and it does not seem to be working. This is the code I have so far:
...
0
votes
0answers
14 views
Using Google Visualization Charts in Java
I'm trying to use Google's Visualization Charts to generate a chart which my Java program will use as an image. (Not to display it, but to pull the image in as a stream.) This used to be a piece of ...
0
votes
0answers
25 views
disabled attribtes is not working for textbox .the condition is based on request attribute [on hold]
<%
String s = "";
s = (String)request.getAttribute("value");
if (s != null && s.equalsIgnoreCase("aaa")) {
%>
<html:text property="managerId" ...
1
vote
0answers
42 views
Uncaught ReferenceError: Detector is not defined
Err sorry, I'm so newbie in this Processing language, and just wanted to run an example. So, I tried using Detector.java of BlobScanner, and tried using processing.js to implement that in webpage. I ...
0
votes
0answers
74 views
Angularjs calling java functions
I have one simple web application in JAVA and angularjs. Where users can add persons to app and remove them from mongo database.
My problem is, I don't know exactly how angular communicates with ...
0
votes
0answers
12 views
Using Ajax in netbeans with Javascript
I am currently following the W3 school tutorial in the following link http://www.w3schools.com/ajax/ajax_aspphp.asp. I have the code below that I am using but I can't get any suggestions to appear in ...
0
votes
1answer
27 views
i want to get preview of my files in popup box
I want to display my content (pdf, txt, images, videos) in pop up box.....
as we can see an example in facebook!
How to do that?
For videos we can play our video in pop-up box.
can we achieve this ...
1
vote
1answer
9 views
PrimeFaces RemoteCommand returns eval twice
I try to render a new page in a new window (or tab) with the link I get from a selected page object in an autoComplete component.
After trying multiple options the only chance in my opinion is to use ...
0
votes
1answer
36 views
Java equivalent to Javascript location object
The Location object in javascript contains information about the url - like host, hostname, href, pathname, hash etc.
Is there an equivalent object in Java that lets me get the same information out ...
1
vote
0answers
11 views
Export AmCharts to PNG, JPG etc
I'm puzzled...
I'm sure this is a simple problem, but I'm not able to export my AmChart to jpg, png, etc.
What am I doing wrong here?
<script src="/assets/javascripts/amcharts/amcharts.js"
...
2
votes
2answers
40 views
How to set the height and width of select tag option's drop down list
I have a select tag use on my jsp page. When the options are added for select then the dropdown list of option covers half of my page as well as width is also as per data and thus goes out of the page ...
2
votes
4answers
59 views
How to hide value in URL
192.168.178.83:18300/Zupdate_we_view.act?name=bunnavitou&position=Research111&sex=Male
hide value on url
from this one :
...
0
votes
2answers
46 views
payment through paypal without making account in paypal
i want to get payment through paypal, where user can pay through the paypal without making an account on paypal.
below is the link of whatsapp where user can payment without making account , u can see ...
0
votes
0answers
18 views
What are some good opensource API for screensharing and webcam video conference? [on hold]
I want to build a tool for the internal use for my company, by which the employees will be able to do video conference, talk and share screens over the LAN ( yes, even without internet connection ). ...
0
votes
1answer
30 views
Why js frameworkss size so small comparing to jar files?
I'm just curious that why the js frameworks' size is so small( usually under 100k ), but if you see some of the java framework packages( the jar files ) normally takes over several megabytes, or even ...
0
votes
1answer
22 views
how to sove chinese garbled with ajax request in jquery.validate.js remote function
Example:name = 资源
rules: {
name: {
required: true,
remote: {
url: ...
0
votes
0answers
32 views
Uncaught TypeError: Cannot read property 'focus' of undefined
This issue is occurring when my page loads.
Using the following scripts
-jquery.simplemodal-1.4.3.js
-jquery v1.7.1
Below is a small code snap, of the code inside simplemodal where this error is ...
-4
votes
0answers
36 views
Should I get the Oculus Rift DK2? [on hold]
I am a teenager wanting to learn how to code. I took a computer science class last year and did codecademy but I could find a passion to code and I didn't enjoy doing it. My dad, who encourages me to ...
1
vote
2answers
21 views
Set button title to bean message in a JSP
I have a JSP question for you that I've been googling...
I am using a title tag to display a long sentence on hover. However I want to put the sentence in a bean message and therefore set the title ...
0
votes
1answer
17 views
Use TWILIO for calling from computer
I'm doing a project in grails and I have to implement a feature in which one can call on specific telephone number from 'web browser'. Is it possible with TWILIO ? If yes how can I do it? And do I ...