From a web application with spring I want to send emails, and I want to do it asynchronously.
For this I want to use the annotation @Async of spring.
This is the configuration I have: servlet-context.xml
<!-- DispatcherServlet Context...
I have two classes that need each other, that is, I have an A class with a Class B object and in Class B I have an object of Class A.
What is the best way to do it?
In particular:
I have a class A that manages beacons (input and...
In my program using Java in Eclipse and MySQL, I have the following data:
Call number (int): callcenter.getTotalCalls ()
Type of call (string): Local
Source Number (string): txtOrderNumber.getText ()
Destination Number (string): txtDef...
I have a system which performs the query of a product in a store. That is, in my interface I select todas and then I enter the product code and I should throw all the stores with that product available. The query I modified it for that pu...
Hello, how can I take a specific value within a map?
by means of a set ??
do {
Student s = new Student();
s.setListName(numerolista2);
System.out.println("ingrese su nombre:");...
I'm trying to delete records but I have a problem removing several, because the following code int[] rows = datalistado.getSelectedRows(); only returns one.
This is my code:
public void leeRifIdentif(){
String RIF;...
I want to know what kind of data to use for numbers that can be decimals but very high, like 10'000'000,123. I'm going to use it in Mysql, Java and Javascript. Thanks in advance.
I am using jdbc-realm and the appropriate configuration of web.xml to authenticate certain resources with authentication.
The form uses tags j_security_check , j_username and j_password .
Protecting them prote...
Good morning,
When I insert or update data in MySQL from java I get the commented error. I do not know why, the number of columns is correct ... in fact, before I had the same code but with fewer columns, I do not understand where the problem...