Tagged Questions
-2
votes
1answer
18 views
loading ojdbc14.jar to Java - JDBC application in a linux machine?
for my job , I wrote a java app (JDBC program) with a select statement to connect to an Oracle DB. I have spent a lot of time trying to figure this out,but no success thus far. My environment is ...
1
vote
0answers
35 views
Changing the color of a line of text in Java
I'm making an instant messaging program with a server and a client. The server and client both send messages through a method in separate projects that look like this:
private void ...
0
votes
1answer
5 views
SSO between two web app deployed on the same server
I have two say(web1 and web2) web app in weblogic deployed on the same server.web2 is accessible only if user login into web1 if user tries to hit web 2 without login in tp web 1 it should redirect to ...
2
votes
1answer
24 views
How to create a oAuth request using java?
I need to make a connection with Viagogo website using oAuth. Referring to their documentation I need to create a request similar to the following one
Using the example in step 1A, this means you ...
0
votes
0answers
19 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 ...
-1
votes
1answer
14 views
Can we track iFrame request at server side level in java? [on hold]
We have to track or differentiate request coming from i Frame from normal request at server side level in java.
1
vote
1answer
38 views
JPA - How can I cascade delete an entity that references itself?
I have the following entity:
@Entity
@Table(name = "parameter_choice")
@NamedQueries({
@NamedQuery(name = "listParameterChoicesByParameter",
query = "SELECT pc FROM ...
0
votes
1answer
22 views
How to maintain a unique timezone across web application
I have requirement in my enterprise web application to maintain a unique time zone (say EST). All the timestamp what we display and store in database should be in EST only.
I am using Spring ...
0
votes
2answers
38 views
Uploaded files missing
I am uploading file in the server location everytime..but after sometime or next day that location is missing from my system.so i am getting error file not found exception always..
Here is my code
...
0
votes
1answer
25 views
How to resolve session timeout error from client side?
I am stuck in a situation related to session timeout()While user is still active on web page.
What is happening that on clicking a particular link on webpage user is redirected towards a popup page. ...
-1
votes
0answers
44 views
Processing files in Java [on hold]
To perform processing on any file that will be uploaded on the website, should I store it before or there is a method that is treating flows recovered?
Sorry but I'm a beginner in this. And, sorry ...
0
votes
2answers
21 views
Where can I find javaee-5.jar source code? [duplicate]
I am doing JSF. I need to debug JSF source code. I am using javaee-5.jar. Where can I find javaee-5.jar source code? Thanks,
0
votes
1answer
12 views
Arquillian with Glassfish V4
There is an official, "Arquillian GlassFish Embedded 3.1", plugin. Should this work with Glassfish V4, or is it a headache in the making? Is there some other way to test Glassfish V4 with ...
1
vote
2answers
49 views
How can I change this main method to read files sequentially
How can I read files sequentially ?
public static void main(String[] args){
String fichier ="E:\\fichiers\\test.txt";
int tab[] = {2, 2, 20, 8, 20, 8, 4, 3, 7, 3, 3, 3, 18, 139};
String ...
-5
votes
0answers
42 views
How can first thread run before other sets `done`? [on hold]
I don't understand the answer to this question. Why is the first thread running before the second one sets done?