Search:

Type: Posts; User: cacho; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    1,027

    I've been thinking solutions for this matter. ...

    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...
  2. Replies
    4
    Views
    1,027

    Yes. To be clear, my application starts, set...

    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...
  3. Replies
    4
    Views
    1,027

    Propagate app context in swing app

    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...
  4. Replies
    16
    Views
    3,864

    Problem solved... I've defined my properties...

    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 =...
  5. Replies
    16
    Views
    3,864

    I know but this didn't solve the problem about...

    I know but this didn't solve the problem about why my app couldn't load db driver...

    C
  6. Replies
    16
    Views
    3,864

    Hi, well, this start to be a nightmare... I...

    Hi, well, this start to be a nightmare...

    I did in my



    <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property...
  7. Replies
    16
    Views
    3,864

    Thank you !!!

    Thank you !!!
  8. Replies
    16
    Views
    3,864

    Ouch, I guess I've not this. How should I added ?...

    Ouch, I guess I've not this. How should I added ?

    My datasource is configured as follows

    applicationcontext.xml


    <beans>
    <bean id="dataSource"...
  9. Replies
    16
    Views
    3,864

    Hi I'm using 2.0.2. I've solved my...

    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:
  10. Replies
    16
    Views
    3,864

    Thanks for your reply. The complete exceptio...

    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...
  11. Replies
    16
    Views
    3,864

    Hi thanks for your reply. I've tried both...

    Hi

    thanks for your reply.

    I've tried both methods with the same result: the problem is still there.

    I'm launching as folows:
  12. Replies
    16
    Views
    3,864

    Configuring in a standalone app

    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...
  13. Replies
    5
    Views
    4,389

    Thanks a lot. I've been runing this inside...

    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
  14. Replies
    5
    Views
    4,389

    I've tried now with 2.0.4 version and the error...

    I've tried now with 2.0.4 version and the error changed:




    Exception in thread "main" java.lang.NoSuchMethodError:...
  15. Replies
    5
    Views
    4,389

    Error creating sessionFactory

    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...
  16. Replies
    4
    Views
    3,329

    Thanks for all replys. Finally I've found a...

    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...
  17. Replies
    4
    Views
    3,329

    Spring with axis ?

    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...
  18. Replies
    1
    Views
    669

    Error messages not transformed

    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...
  19. Thread: Bind error

    by cacho
    Replies
    10
    Views
    2,716

    I'm still having this problem. If my form has...

    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...
  20. Replies
    13
    Views
    2,760

    Any new idea about how to do that ? As I can...

    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...
  21. Replies
    0
    Views
    1,026

    Convert string to checkboxes

    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...
  22. Replies
    9
    Views
    2,490

    Thank you !

    Thank you !
  23. Replies
    9
    Views
    2,490

    Please, could somebody give me a clue with...

    Please, could somebody give me a clue with this...


    Thanks in advance

    C
  24. Replies
    9
    Views
    2,490

    Still dont work

    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">...
  25. Replies
    7
    Views
    1,540

    Ok, I guess I'll try to make a call to a class to...

    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,...
Results 1 to 25 of 65
Page 1 of 3 1 2 3