Tag: java

60 votes
6 answers
671 views
jQuery issue - #<an Object> has no method

I've tried a veriety of jQuery plugins recently and I keep getting this error … (source: shaunbellis.c

avatar
Sydney
0 1 0 9
asked 07 September, 2021
55 votes
3 answers
2.3K views
how to select all class except the clicked element in JQuery?

I have a website developed on Drupal. I use a module called collapsiblock (it is basicly a JQuery plugin) to a

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
60 votes
8 answers
2.6K views
How to read XML using XPath in Java

I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML

avatar
Omar
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
1.4K views
How to pretty print XML from Java?

I have a Java String that contains XML, with no line feeds or indentations. I would like to turn it into a Str

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
61 votes
9 answers
2.5K views
java.util.Date to XMLGregorianCalendar

Isn't there a convenient way of getting from a java.util.Date to a XMLGregorianCalendar?

avatar
Royal
0 1 0 9
asked 07 September, 2021
66 votes
9 answers
1.1K views
How to pass json POST data to Web API method as an object?

ASP.NET MVC4 Web API application defines post method to save customer. Customer is passed in json format in PO

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
53 votes
12 answers
2.4K views
Using Razor within JavaScript

Is it possible or is there a workaround to use Razor syntax within JavaScript that is in a view (cshtml)? I a

avatar
Don
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
2.1K views
JQuery - $ is not defined

I have a simple jquery click event <script type="text/javascript"> $(function() { $('#p

avatar
Deedee
0 1 0 9
asked 07 September, 2021
53 votes
14 answers
2.5K views
Passing data to a bootstrap modal

I've got a couple of hyperlinks that each have an ID attached. When I click on this link, I want to open

avatar
Shantay
0 1 0 9
asked 07 September, 2021
57 votes
2 answers
2.5K views
Jython, use only a method from Python from Java?

When reading and using this article it assumes that we have a full object definition with class and mapping (p

avatar
Robt
0 1 0 9
asked 07 September, 2021
59 votes
2 answers
1.2K views
Redux: How do I get Jython to use Python modules stored in Lib within its own jar file when running in Hadoop?

I'm attempting to use Jython for an implementation within Hadoop 1.2.1. I have seen strikingly little ab

avatar
Xavier
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
2.2K views
Why does this Jython loop fail after a single run?

I've got the following code: public static String getVersion() { PythonInterpreter interpreter = ne

avatar
Clarice
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
1.2K views
jython multithreading

I started studying python a couple of month ago, then I found Jython. Do threads work properly in Jython, sin

avatar
Royal
0 1 0 9
asked 07 September, 2021
54 votes
5 answers
1.6K views
Using NumPy and Cpython with Jython

I must use a commercial Java library, and would like to do it from Python. Jython is robust and I am fine with

avatar
Nereida
0 1 0 9
asked 07 September, 2021
59 votes
4 answers
2.9K views
Jython and python modules

I've just started using the PythonInterpreter from within my Java classes, and it works great! However, i

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
65 votes
3 answers
2.5K views
Add .dll to java.library.path in Eclipse/PyDev Jython project

I'm trying to use a compiled .jar Java library in my PyDev Jython project. I successfully added the .jar

avatar
Brianne
0 1 0 9
asked 07 September, 2021
57 votes
6 answers
3K views
How can I call scikit-learn classifiers from Java?

I have a classifier that I trained using Python's scikit-learn. How can I use the classifier from a Java

avatar
Joseph
0 1 0 9
asked 07 September, 2021
48 votes
8 answers
428 views
jdbc: Get the SQL Type Name from java.sql.Type code

I have an array with Field Names and jdbc Type codes. (Those int codes that you can find in http://download.

avatar
Clarice
0 1 0 9
asked 07 September, 2021
57 votes
6 answers
1.5K views
Using a java library from python

I have a python app and java app. The python app generates input for the java app and invokes it on the comman

avatar
Solomon
0 1 0 9
asked 07 September, 2021
52 votes
4 answers
808 views
How can I install various Python libraries in Jython?

I know that I can install Jython with Java and that I can use Jython where I use Python. The Jython shell is w

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021