-1
votes
0answers
21 views
Seamless integration between two web application
I have two application App A and App B. App A has pageX with find button and App b has pageY with cancel button. Both the applications have different urls and hosted on different application servers. ...
0
votes
0answers
14 views
Using quartz 2.2.0 with tomcat 7
I am trying to start a quartz process when tomcat is start up
but it's not working, here is my simple code:
My ServletContextListener:
package quartz.test;
import javax.servlet.ServletContextEvent;
...
0
votes
0answers
62 views
Not able to run spring application — Could not resolve dependencies for project Failed to collect dependencies
Actually I am new to maven and java spring framework. I have imported an project from git repository. Now when I am trying to run it, it is giving me the following error
[ERROR] Failed to execute ...
0
votes
0answers
23 views
JSF 2.0 validation of 2 composite components
I am new to JSF and composite components. I have two composite components, for inputting maxAge and minAge properties, which need to be validated (minAge can't be more than maxAge). Which is the best ...
0
votes
1answer
49 views
What's wrong with this deletion call
Attached is a sample code, I am trying to clear old content of the list before filling it with new data but it doesn't seem to be working.
Let's say if in first call I got list of size 4 and in second ...
1
vote
0answers
43 views
How to proper authenticate an AngularJS client to the server
I'm building an AngularJS web-app that uses a RESTful API (Jersey).
On the server side I am using a Java Application Server (in detail Glassfish 4).
My setup is as follows:
AngularJS webapp is ...
0
votes
1answer
28 views
Java servlet- Best way to get post requests body
I'm getting a post request- with a XML in the body.
what is the best way to get the requests body?
cheers:)
1
vote
1answer
22 views
How to extract the column data/values with latest timestamp in db2
From below table I want to extract the column values (C_Number) with the latest TimeStamp buy comparing with current system timestamp from db2 table? Please help.
Example: In Table "Computer" there ...
0
votes
2answers
36 views
getpathtranslated returns null
The thing I try to implement the method getPathTranslated () but always returns null, this is the method I use:
import java.io.IOException;
import java.io.PrintWriter;
import ...
1
vote
1answer
85 views
using inner class object in outer class java
I am facing a problem converting json object to POJO class.
I have a public class called Service and it has an inner class User. I want to use the inner class as a container/object to hold the ...
0
votes
0answers
39 views
EJB method interceptors based on authentication information from JSF session bean
As I understand EJB session is not the same as JSF session, so storing authentication information in Stateful bean is not suitable when I want to track user of web service. On the other hand, I want ...
-1
votes
1answer
24 views
Orphan removal in JPA 2 based on only one plain string
I have the following situation:
class Container {
...
String key;
...
}
class Item {
String containerKey;
}
I require a mechanism to automatically delete all items "referencing" ...
1
vote
3answers
34 views
changing the encode characters for Eclipse
How do I to change the encoding on Eclipse ?
I did all of these configurations:
http://uploads.siteduzero.com/files/388001_389000/388662.png
...
0
votes
1answer
17 views
Intercept Thead end in a Web App
given the code bellow how can I log resquest time just when the thread ends to get just one final RequestTime?
@Override
public void doFilter(ServletRequest request, ServletResponse response, ...
0
votes
3answers
62 views
Is it possible to convert from JSON to domain object with @RequestParam
I am doing a multipart request from a JavaScript script (AngularJS) and I get the JSON data as the first part, and an optional file as the second. Is it possible to have the @RequestParam("data") ...