Tagged Questions
0
votes
2answers
20 views
Send ZIP file to server in Base64 via POST
I'm trying to send a zip containing multiple files from the client side to the server using an ajax request.
The zip is encoded into a Base64 String in javascript and passed as a post parameter
...
4
votes
1answer
54 views
How to chain exceptions in javascript (ie add cause like in java)
Is there a standard / best practice way to add a cause of an exception in javascript. In java you might do this:
Throwable t = new Exception("whatever");
t.addCause(previouslyCaughtException);
throw ...
0
votes
0answers
15 views
UncaughtReference error with phoneGap android
I'm getting a
07-26 18:39:21.741: E/Web Console(15885): Uncaught ReferenceError: LocalFileSystem is not defined at file:///android_asset/www/index.html:18
While using a simple phoneGAp app which ...
2
votes
1answer
38 views
Framework to create a tutorial for a webapp?
We have a webapp (built in Java & Spring if that matters), and I want to create tutorials for the site, so the first time someone enters a section, it gives them a walkthrough of that section ...
0
votes
0answers
8 views
How to customize the legend of a Morris graph?
I am using the morris.js library and I would like to customize my graphs so to properly format the date-time present in their legend. At this time, when I pass values as-like 2013-07-26T03:34:41+02:00 ...
0
votes
0answers
24 views
ExtJS Infinite Grid Loads Forever (totalProperty == pageSize)
I have an ExtJS grid (Version 4.2.1). It is buffered and infinite scrolling. It is populated by a store with a REST proxy.
The request is made to:
...
0
votes
0answers
15 views
spring mvc javax.imageio.IIOException: Error skipping PNG metadata
i've simple web application where i try to convert html page to png image.using html2canvas then using ImageIO to read this image
here is my error log:
javax.imageio.IIOException: Error skipping PNG ...
0
votes
0answers
10 views
javascript proxy binding fails
Im programming a plugin for jenkins which adds a parameter definition to the build section. The code itself works in the index.jelly, but the binding to the java class fails in the config.jelly.
...
1
vote
0answers
15 views
Use ScriptEngine to bind global javascript functions from java code
public class JSBindings extends SimpleBindings{
public void bind(String key, Object value){
this.put(key, value);
}
}
I pass the instance of JSBindings to ScriptEngine.eval(script, ...
0
votes
1answer
10 views
encoding a message using apache commons
I am trying to do a base 64 encoding of some message and then URL encode the message and pass the whole encoded content as a parameter/value to a querystring.
...
0
votes
0answers
27 views
secure password token libraries
I am looking to generate some random token in Java for my temporary password which should contain all the alpha numeric characters and special characters. So, I have implemented it as:
SecureRandom ...
0
votes
3answers
54 views
display selected value of the drop down in jsp page
I want to display selected value. In the text field I can display it within value like below
value ="<%=event_data.getE_venue()%>"
code :
<input type="text" name="where" placeholder="Add ...
0
votes
1answer
23 views
latest base 64 and url encoding libraries
I am looking to pass some sensitive information along with the URL in my JAVA web application. So now I want to use encryption, base 64 encoding and URL encoding. I am going through various libraries ...
1
vote
1answer
31 views
Execute Java classes with Node JS (Meteor JS)
I am developing with Meteor JS, a node framework.
A question to those of you familiar with it, would it be possible to execute code i've written in Java without using an applet?
How would I go about ...
0
votes
1answer
21 views
how do I dynamically print out a page that is loaded into text boxes?
I have a blur function that writes to the data base
$(".thoughts_box").blur(function(){
var box_id= $(this).attr("id").split("_")[$(this).attr("id").split("_").length-1];
...