I've been thinking solutions for this matter.
One I've found is to make a static class to make it to call ClasPathXmlApplicationContext and then all my classes can call this one to obtain a...
Type: Posts; User: cacho; Keyword(s):
I've been thinking solutions for this matter.
One I've found is to make a static class to make it to call ClasPathXmlApplicationContext and then all my classes can call this one to obtain a...
Yes.
To be clear, my application starts, set applicationContext and other data and call another class that will show a form, this form can call another form..how could I get applicationContext...
Hi
I've a swing application that loads app context at start time. Now I wonder how could I propagate it through the whole application to allow other components to use beans...
I did it when...
Problem solved...
I've defined my properties file with this
hibernate.connection.url = "jdbc:jtds:sqlserver://localhost:4811/segex"
instead of this
hibernate.connection.url =...
I know but this didn't solve the problem about why my app couldn't load db driver...
C
Hi, well, this start to be a nightmare...
I did in my
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property...
Thank you !!!
Ouch, I guess I've not this. How should I added ?
My datasource is configured as follows
applicationcontext.xml
<beans>
<bean id="dataSource"...
Hi
I'm using 2.0.2.
I've solved my Poltergeist mistery but have a new one...
After some debug I discovered the error was in this line:
Thanks for your reply.
The complete exceptio follows:
0 [main] INFO com.jl.segex.AplicacionA - starting app.
0 [main] INFO com.jl.segex.AplicacionA - starting app.
Exception in...
Hi
thanks for your reply.
I've tried both methods with the same result: the problem is still there.
I'm launching as folows:
Hi
I'm trying to discover how to configure my Spring - Hibernate desktop app but every doc I found is web container oriented.
I've a jar file wrapping all my classes and config files as...
Thanks a lot.
I've been runing this inside Idea. Now i did a ant task and it run well...
May Idea is using Spring or something else that get my app nuts...
C
I've tried now with 2.0.4 version and the error changed:
Exception in thread "main" java.lang.NoSuchMethodError:...
Hi
When I try to start my app I get the error:
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in...
Thanks for all replys.
Finally I've found a tutorial about this matter in http://java-x.blogspot.com/2007/01/implementing-web-services-with-spring.html
and tried to follow it.
I did my web...
Hi All
I've a webservices application running with Axis 1.3 and it will use Hibernate for persistence so I think to use Spring as a better way to integrate everything.
Now I wonder which is the...
Hi
Following docs I did a messages.properties and place errors like this:
typeMismatch.fecha_fin=La fecha ingresada no es correcta.
When I run my app and force and error y receive the...
I'm still having this problem.
If my form has a input that should be converted to int and I insert a number, suppose 1, bind generate an error because it see 1,1.
Could please somebody give...
Any new idea about how to do that ?
As I can see, Spring force developers send user to an exception page each time a submitted form get a problem with database operation...
I can't believe it...
Hi
I've a field in my DB that is a varchar with letters, each letter represents a code that could or could not exists.
So, I need to show in my form one checkbox for each letter present in that...
Thank you !
Please, could somebody give me a clue with this...
Thanks in advance
C
Hi
In my applicationContext.xml I did:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">...
Ok, I guess I'll try to make a call to a class to validate.
As far as I could understand the process is:
1 - user submit the form.
2 - form is bound and validated (if validation or bind fails,...