Tagged Questions
Java is an object-oriented language and runtime environment (JRE). Java programs are platform independent, because they are compiled to bytecode and their execution is handled by a Virtual Machine called the Java VM or JVM.
1
vote
0answers
6 views
Selenium test in Internet Explorer in InPrivate mode
Is there any way how to run Selenium automation test in Internet Explorer 9 in InPrivate mode with IEDriverServer?
I need to test 2 (two) testcases:
1. browser is closed. Open one window of IE ...
0
votes
0answers
15 views
java server and client simple program
Hey guys yet again i am trying to write a server client program.
in the hope of understanding how it works so i think i understand the theory very well.
server socket - socket - socket input output ...
0
votes
0answers
11 views
AS3 writeUTF to java empty string
I'am trying to sent by socket string, but the string comes empty:
i'am using this AS3:
socket.writeUTF('HELLO world');
but the java server gets an empty string:
TextLineCodecFactory textCodec = ...
0
votes
0answers
8 views
I need to browse ONLY folder in jsp - Struts 2.0
I need to browse ONLY folder(not) in jsp using struts taglib.
When i am using <s:file>, its taking till the file. But i need to select only FOLDER.
If struts implementation is not there, is ...
0
votes
2answers
14 views
how to change data in Xml using java?
suppose i have an xml as follows :
<alerts>
<fullName>email_alert_campaign</fullName>
<description>email alert campaign</description>
<recipients>
...
0
votes
0answers
8 views
How to create line breaks in xml using java
I want to create an xml file with line breaks, looking somewhat like this:
<Instrument currencyId="THB"
disabledCount="0"
hasBeenEnabledOnce="TRUE"
</Instrument>
Using this code I got ...
0
votes
3answers
27 views
Exclude in regular expressions
I want to read files that do not contain .temp as an extension in a folder. I want to use a regular expression for this. How do you use exclusions in a regular expression to do this?
0
votes
0answers
4 views
Search Criteria/Filter classes in Domain layer or Presentation layer?
We are building an enterprise app that uses Spring MVC in presentation layer, EJB in business layer and JPA for data access. The app needs to support search function for various entities based on ...
2
votes
1answer
22 views
Web application performance testing tools for Java
I am looking to write a complex set of performance tests for our restful web application. We began by looking at Jmeter but have found that it will be quite difficult to maintain over time due to the ...
0
votes
0answers
20 views
SFTP: how to know if i'm connecting to a unix or windows host?
i have created an internal library to make generic FTPs or SFTPs using apache-commons and JSCH libs
When i upload text files from windows to unix i can switch to ASCII mode if i'm using FTP, but this ...
0
votes
2answers
26 views
What is the fastest way to read a large tiff image in java?
I currently use the JAI library to read the tiff image but it is very very slow large tiff images (I need to work with satellite images of size around 1GB).
I need to read the height of each point ...
0
votes
0answers
15 views
How do I decrypt and encrypt Joomla user password for Java program?
I have programed a Java program which has access to my MySQL database.
Currently I am using Joomla as CMS, therefore I would like to program my Java program so it is able to check the user data(of ...
1
vote
0answers
37 views
Java: Does an (anonymous) inner class ALWAYS have an implicit reference to the outer? Andorid: Will this cause a memory leak? [duplicate]
The java question:
I have an outer class, a method of which is generating anonymous inner class. The anonymous inner class can 'outlive' the instance of the outer class. The anonymous inner class ...
3
votes
6answers
79 views
Is it possible to debug a running Java program in Eclipse?
What I'm asking is if it's possible to do the following steps in order:
Run as... Java application
Let the program run until it reaches the point I want to debug
Debug that program when it gets to ...
0
votes
0answers
12 views
Retrieve new width and height of BufferedImage bounds after a AffineTransform.rotate()
I'm working on a type of image editor which includes snapping to other elements as a feature. The snapping works by using the image width and height.
However, after an AffineTransform.rotate() the ...