0
votes
0answers
13 views

How to Convert “Different” Multiple <Button> Functions to Generic Function with <Select>?

How do I make so that the load buttons java functions works from a select option box with just one button, instead of two separate buttons that call on two "different" JavaScript functions? Because ...
-1
votes
0answers
15 views

Connect HTM frontend to java backend

I want to retrieve results based on the query entered by the user in the HTML text input box. Can anyone please tell me how to connect HTM frontend to backend. Thanks
-5
votes
0answers
23 views

How to block javascript on my custom Java Swing Browser [on hold]

I just find the code of a Java Swing Browser and it works. I just want to understand how can I block some javascript while browsing. Not all script but just those with "googleads" for exemple. The ...
0
votes
0answers
26 views

Can angular take over java controller functionalities?

I am currently trying to build a single page application with springboot, java, and angular js. I had a multi-page application where my java controller handles all the routes. Now that I implemented ...
0
votes
0answers
9 views

Autocomplete with Bootstrap Typeahead + Spring MVC and JavaScript from database

I trying to make an autocomplete with bootstrap typeahead using the framework spring, but it not working. the idea is that when typing a code it show all datas from the database and when I select one, ...
-3
votes
0answers
15 views

What is the best way to build instant chat applicaiton in spring mvc project?

I have a Spring MVC based multiuser social blog site called turkninja.com. I want to provide users to have instant messaging service like Facebook. Is WebSocket best way to build this service? Or the ...
0
votes
0answers
12 views

HTML width with an xsl:value

Thank you for your help :) I found this code to create a pie chart with java. I would like to put xsl:value instead of the numbers as well as xsl:value for each category, is that possible ? <html&...
0
votes
0answers
16 views

It is possible to get the kony crypto algorithm in java

My use-case is to re-create the client side(browser) manipulation such as encryption in Java program. I could see a website uses the kony framework generate a encrypted value. Details of Kony ...
-10
votes
0answers
37 views

base 14 to decimal conversion via batch file [on hold]

Im looking for a batch file code for the conversion of base 14 to decimal, cause Id search the whole internet and only hex to dec conversion only I can find, and I cant end my project because of this
0
votes
0answers
20 views

epoch vs date object for web services

Not sure if a long debate is required to finalize one between epoch & date object as input for RESTFul web-services. I can list down advantages of both: Advantages of epoch: Less confusing: ...
0
votes
0answers
14 views

Unable to attach a file to an email by using python

I am new to the Python,actually I came from manual testing and I am looking forward to change my career to Automation. So I started learning Selenium. I have taken GMAIL as my example and started ...
3
votes
2answers
49 views

JavaScript: Unable to parse json with error unexpected token

I manage to parse a json url with java code previously but need to migrate it to javascript now. When I parse using JavaScript, syntaxerror: Unexpected token I occurred SyntaxError: Unexpected token ...
2
votes
5answers
54 views

Javascript object with multidimensional array

I am very new to JavaScript. I have following object in Java and I need to create equivalent in JavaScript but I am unable to achieve this: Map<String, String[][]> objectName
-1
votes
0answers
12 views

[OWASP(ZAP)][XSS]I want detect xss via OWASP(When I use ie11, xss happen)

sorry for poor english. [environment] OWASP ZAP(D-2017-02-27) Windows7 x64 Java1.7 target site is local constructing web site [I want] access to URL with "non URL encoded parameter" on OWASP ex) ...
-3
votes
0answers
30 views

I want to include a calendar(not a datepicker) in project

I want to include the calendar(not a datepicker) in my project,so that I can display the data coming from back end in a calendar along with a date.I tried really hard but couldn't find the solution.
0
votes
1answer
21 views

Set field value using javascript in Selenium

I'm trying to set a field value using javaScript with the following code in Selenium + Java JavascriptExecutor jse = (JavascriptExecutor) driver; jse.executeScript("document.getElementByXpath(...
-1
votes
0answers
23 views

Which class should hash passwords etc

We're designing a program with user authentication and we're wondering which class should handle password hashing in terms of program design. Are there best practices based on language or is there an ...
1
vote
1answer
21 views

404 Bad Request while posting json object to server

I am trying to pass a json object to server via ajax calls.But it is throwing 404 Bad Request. Actually I have a form, and i am converting this form data to json object. In table i have set id as ...
2
votes
2answers
44 views

Android call Javascript from Java not working

I've read many posts but I can't get my Android app call a Javascript function. This is what I have public class BorrameActivity extends AppCompatActivity { private static BorrameActivity....
-1
votes
5answers
58 views

Need the next milestone number for the number provided

I am not sure how to frame this question. Let me give a few scenarios to explain what I need. Scenario 1: I provide number as 9600 and I want to be returned 10000 Scenario 2: I provide number as ...
0
votes
0answers
9 views

Jade4J for loop unable to evaluate

I can't seem to find an answer to this anywhere, the github for it is not being updated, and I'm about to throw my computer out the window. I am trying to create a website via java, and am using ...
0
votes
0answers
8 views

npm WARN [email protected] No repository field. Fix?

After i run Npm install on a github script, i get this error: npm WARN [email protected] No repository field. Is there any fix for this?
0
votes
0answers
25 views

obtain multiple parameters from post http in spring with requestmapping

i am sending data from a .js file to a java file using http POST request. The data i send is in json format but how do i obtain it in the request mapping in the java file? Ive written code but i ...
0
votes
0answers
27 views

encoded url is not displaying properly in the first instance only for ampersand &

I have few parameters to append to my actual url like following out of them name has the value which contains special characters(http://abcd.com/myApp/?name=JACK & JOHN&address=1234street ...
0
votes
0answers
18 views

Character encoding issue with tomcat version 7.0.73

I have got to know that the latest version of tomcat(7.0.73) does not allow the special characters |,{,} etc. when a GET request is made, would it show the same behaviour when request is made via ajax ...
0
votes
0answers
14 views

Sending output code generated by Blockly via bluetooth

On Android, when I run the block coding done in Blockly code editor, it gives me the output code in Javascript. I'm trying to find a way I can send the code instructions step by step via bluetooth to ...
0
votes
0answers
38 views

how to display session values without reloading page

i am trying to display my servlet session output to my webpage using jsp pages. below is my code for javascript and jsp. For reference i have attached the small portion from servlet also. The values ...
2
votes
1answer
37 views

JavaScript code runs perfectly in FireFox console and not in Eclipse

I run test scripts using Selenium JUnit in Eclipse. Now when I add the following JS code into my Java file, test case stops with error "selenium.JavascriptException: TypeError: document.querySelector(....
0
votes
1answer
20 views

Grouping Node JS Modules similar to Maven groupId

I am new to NodeJS coming from a Maven background. In Maven, there is the concept of groupId and artifactID along with the package name which we want to have when we create a new project. In NodeJS ...
0
votes
1answer
19 views

Appending additional data to the serialized form data before sending it via ajax post

I am facing difficulty while posting the form data to the controller using ajax post method. Following is my requirement, Domain class: public class Bill implements Serializable{ private String ...
1
vote
0answers
45 views

JavaScript JSON to Map Object

I have a Map object in Java which I pass to JavaScript. The object looks like this Map<String, String[][]> Now I have a JSON object in Java which I pass to JavaScript and I need to convert ...
0
votes
2answers
26 views

Authentication approach for REST API used by frontend app and another backend service

I have a rest api backend service A which is used by two other services: B service which is web app running in a browser (separate node server) C service which is also backend service (separate ...
-4
votes
1answer
43 views

how to build a JSON object? [on hold]

I want to build a JSON object on client side so how to pass this to server? using angularjs as my client side and java in server side
1
vote
2answers
21 views

Why Browser does not reflect changes made in JSP page or Angular Controller?

I am working on Spring MVC framework with Eclipse and Angular JS for FrontEnd Data Binding, I use Tomcat Server for Running the Project. Project is running Properly, but when i open any JSP or ...
3
votes
2answers
30 views

Why HTTP 405 error for loading css/js in Spring-MVC 4?

@Override public void addResourceHandlers(final ResourceHandlerRegistry registry) { registry.addResourceHandler("/resources/**").addResourceLocations("/resources/"); } @Bean public ViewResolver ...
0
votes
0answers
32 views

Using local storage to persist preferences vs server-side session storage

I'm currently working with a web application that has to pass a list of preferences to a java server in order to retrieve a filtered set of data. There are some preferences that aren't being used by ...
-2
votes
0answers
48 views

Linear Data Structure Maze

Do you guys mind helping me finish this problem? My code is at the bottom. I am getting errors with my stack methods claiming that "java: cannot find symbol" Given the starting point in a maze, you ...
0
votes
0answers
17 views

css parser with java and export it in a table

Hi i need a parse for CSS. For example .sapUiArea { background-color: #fafafa; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 16px; } i need the name and ...
-1
votes
0answers
12 views

How to Create a Mashup by Combining 3 Different APIs [on hold]

I just want to ask if anyone can explain how to create a website mashup by combining 2 or 3 different APIs together. In the client I want to have 2 or 3 APIs puts together. What programming language ...
-6
votes
0answers
44 views

reverse() method for a linked list [on hold]

I have a linked list sequence that have 5 instance variables (head, tail, cursor,precursor and manyItem). I want to implement a public DoubleLinkedSeq reverse(). please help me to do this.
0
votes
1answer
38 views

How do I pass a Java Map<Long, Integer> into scala-play?

In my play framework project I have a confirmed functional Java map of the form Java that is passed to a html page home.scala.html The map variable is passed in as other (working) variables are, at ...
0
votes
1answer
38 views

ng-change not working, Data not loading after ng-change

I added an data-ng-change='getSubjectsClasswise(classBean.class_id);' in class <select> tag, but subjects are not loading at subject <select> tag. Everything looks fine, not getting the ...
2
votes
1answer
30 views

How to Automate e-signature input using Selenium?

Can anybody suggest what is the method to automate e-signature input in selenium ? I have tried using the action class to draw a line on the canvas object . Below is the code : Actions ...
0
votes
0answers
18 views

How to enable Selenium to always click Web-Elements in Asynchronous Calls ?

My AUT has been developed in Pega, So the way Selenium Explicit, Implicit & Fluent waits works does not always guarantees correct behavior. So Behavior is not consistent, i.e. Sometimes the ...
1
vote
1answer
31 views

how to get the array in servlet which passed from ajax call

I am passing an array from servlet through ajax call. But when I am trying to get the same in servlet side, I am getting null pointer exception. I tried using one of the examples given in SO. Since I'...
0
votes
4answers
59 views

Regex does not contain certain words

I am looking for a regex expression that will exclude the below words from a huge text file/files. @author @Autowired @Override @param @SuppressWarnings I have tried with this but does not work as ...
1
vote
1answer
17 views

Opening PDF served from servlet

Trying to send a PDF from a servlet to the client. The client sends a POST request through AJAX, and the request is handled by the servlet to generate a PDF and sends the PDF as a response to the ...
-5
votes
0answers
24 views

Typeahead bootstrap not working

Typeahead is not working. The code is right, as I copied an example from Twitter Bootstrap. I believe you are not aware through or I've tried using both offline and online. I also attached a print
-1
votes
0answers
29 views

save JSON file to database

i'm new here and in JSON world. I have try a lot before ask here, so i hope to find a solution. This is my JSON file: tweetsFilter?peak=2&day=2016-11-11 {"hashtags":{}, "words"{"sclavonian":1,"...
0
votes
1answer
20 views

Javascript Class Definition with Array Member

I wrote the code in Java, no problem. Here I am giving the Java code: public class CarGallery { static int carCounter=10; static Gallery[] car = new Gallery[carCounter]; public static ...