Tagged Questions
Java is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).
-2
votes
0answers
17 views
Executing code N times and other code N+1 times
Let me explain my question by providing an example.
Say I want to concatenate N+1 Strings, by glueing them with "\n", for example. I will have N+1 lines of text then, but I only need to add N times ...
0
votes
0answers
26 views
Android/Java date formatting and splitting
I have a date as string "18.07.2013 15:31:10" and I want it to split like
string DAY_OF_WEEK_IN_MONTH = "18";
string DAY_OF_WEEK = "Thursday";
string MONTH_IN_YEAR = "July";
string HOUR ="15:31";
...
0
votes
0answers
14 views
Freemarker For loop
Is their any way to traverse list item based on their rather than one by one? I want to traverse a list of fields in 1,3,5,7,9 and 2,4,6,8 order. I tried using like this
<#list section.field as ...
-3
votes
0answers
29 views
NFe System Error in java
I using am using a trial to issue invoices, but when I click the button to files invoice the system demonstrates this error. I already installed java 6.7 but same error occurs and how can I resolve ...
0
votes
0answers
5 views
How to reload the whole page in Liferay
I am using Liferay 5.2.3.
In my view.jsp file I have a hidden form that after it is populated, it is sent to the processAction(request, response) method of my portlet like this:
...
0
votes
0answers
5 views
Force a mutual authentication and get information about the presented certificate of a web service request?
I am implementing a web service using JAXB and SSL mutual authentication. I would like to get the certificates and other information that the clients present to do the handshake to keep a record of ...
0
votes
0answers
8 views
java.exe in system32 folder not always created
I have installed java 7 jre on one computer.
When I run it from command line it runs it from c:\windows\system32.
On another computer, the installation did not create java in system32
(only in ...
1
vote
1answer
19 views
NullPointerException while using TTS in CustomListview
I have custom listview which contains content and TTS option,while using TTS its throwing null pointer exception,Listview is also not coming it showing my applicaton has stopped.Error is showing in ...
0
votes
0answers
7 views
Handling strategy for (ER_QUERY_INTERRUPTED) on mysql
I'm writing an infrastructure library for our mysql servers.
One of scenarios I have to handle is a temporary disconnection from the mysql server.
The test scenario is start around 100000 inserts to ...
-2
votes
2answers
20 views
Writing data to an excel sheet through java
I am trying to write data to an excel sheet.But while i use the workbook.write(fileout) it fails.I went through the internet but everyone says that the problem is in the build path.I have used ...
1
vote
1answer
22 views
When does Class#getClassLoader return null?
Say I have some Java code:
public class Widget {
...whatever
}
And some code that classloads the Widget:
ClassLoader widgetLoader = Widget.class.getClassLoader();
Can widgetLoader ever be ...
0
votes
0answers
10 views
HTML 5 Media Server
I have developed a mobile web application using the following frameworks and technologies:
Server Side:
Spring-Core 3.2.3
Spring-MVC 3.2.3
Spring-Security 3.1.4
Hibernate 4.2.2
Client Side
HTML ...
0
votes
0answers
22 views
How to test if an error occurred on the Server, and output client side
Okay, so I've been working on this for a few days, and I've hit something of an issue. Basically, the idea is simple. The user clicks a link, and this sends a request to the server to generate a PDF ...
0
votes
0answers
5 views
Java Script Error Capturing from IE with Selenium Webdriver using Java
How can we Capture and Logged the JS Error (from IE) with Selenium Webdriver using Java
if we execute a test case (more than 100) then , in the Execution we got an JS error, but we are not able to ...
1
vote
3answers
38 views
Issue with declaration of Map<String,Class<? extends Serializable>>
Java provide me by a way of filter the java classes that you can use to
build in this case the new HashMap, for example:
I can do that:
Map<String,? extends Serializable> map1 = new ...