Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,098

    ajax and spring

    Im working in a web2.0 project with the Spring Framework 2.0

    I would like to use ajax technologies in the view part, so i have looked for an api that would adapt to the spring framework. I have...
  2. Replies
    6
    Views
    1,491

    both, Integer.TYPE instead of Integer.class in...

    both, Integer.TYPE instead of Integer.class in the initBinder();

    and the if condition to avoid the NPE and validate ""
  3. get BindException's reject message into a Jsp

    Hi all.

    I validate some data by the onSubmitAndValidate method of a SimpleFormController so i use the BindException's reject method when the data is incorrect.



    protected void...
  4. Replies
    2
    Views
    795

    thx, i have solved it

    thx, i have solved it
  5. Replies
    6
    Views
    1,491

    Thx both. It works now.

    Thx both.

    It works now.
  6. Replies
    6
    Views
    1,491

    int PropertyEditorSupport

    Hi all.

    I have a jsp where i recollect data from a form. The form is managed by a SimpleFormController.

    The bean to populate with the recollected data has an int property named "id".

    When...
  7. Replies
    2
    Views
    795

    int PropertyEditorSupport

    Hi all.

    I have a jsp where i recollect data from a form. The form is managed by a SimpleFormController.

    The bean to populate with the recollected data has an int property named "id".

    When...
  8. Replies
    2
    Views
    747

    thx, i have solved it with the lazy-default=false...

    thx, i have solved it with the lazy-default=false in the mappings xml but ill go to the hibernate forum to get a better solution...

    The problem is that the HibernateDaoSupport spring class closes...
  9. Replies
    2
    Views
    747

    help with hibernate3 to load objects

    Hi all.

    I have a problem to load the info of an object. Im using hibernate3 and the hibernate tools in eclipse to generate the .java and the DAOs.

    The class im trying to load is defined in the...
  10. Replies
    1
    Views
    1,414

    Poltergeist with Hibernate3

    I have two hbm files mapping two database tables to classes:

    Table --------------- hbm ---------------class
    ========================================
    Usuario ---------- Usuario.hbm.xml --------...
  11. Replies
    2
    Views
    1,122

    Solved

    You are right, the problem is that i was using tld files and something was wrong in that.... I changed them for the http://..... URIs and it worked.

    Thx.
  12. Replies
    2
    Views
    1,122

    ModelAndView and tiles

    Hi all.

    I have a Controller that pass a ModelAndViewobjet to a tile.



    Map<String,String> model = new HashMap<String,String>();
    String username = "usuario";
    model.put("username", username);...
  13. Replies
    4
    Views
    5,135

    Review

    Hi again, i have made a few changes and this is the result:

    ApplicationContext-hibernate.xml


    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE beans PUBLIC
    "-//SPRING//DTD BEAN//EN" ...
  14. Replies
    4
    Views
    5,135

    Hibernate sessionFactory bean error

    Hi all.

    Im trying to use hibernate in my project. This is the aplicationContext file:



    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE beans PUBLIC
    "-//SPRING//DTD BEAN//EN" ...
  15. Thread: jsp c tag

    by maveganzones
    Replies
    4
    Views
    946

    Solved :) the getName() method was specified...

    Solved :)

    the getName() method was specified as getNAme() so the bean definition was corrupted. I dont know how cant i see it.

    Thx a lot
  16. Thread: jsp c tag

    by maveganzones
    Replies
    4
    Views
    946

    All the attributes are private and have a getter...

    All the attributes are private and have a getter and a setter, for example:

    private String name;

    public void setName(String name) {
    this.name = name;
    }

    public String getName() {
    return...
  17. Thread: jsp c tag

    by maveganzones
    Replies
    4
    Views
    946

    jsp c tag

    Hi all.

    I have a class named "Class1" with two attributes "id" and "name" and their respectives setters & getters.

    There is a second class "Class2" extending "Class1" with an attribute "age"...
  18. Replies
    2
    Views
    1,222

    Implement an own user and a jdbcDaoImpl

    Hi all.

    I want to make a mysql database where persist the users information (username, password, and a lot), so i have to take the authentication stuff from this database.

    Until now, im using...
  19. Thx. But that was not the problem. It seems that...

    Thx. But that was not the problem. It seems that tomcat has problems managing two app running the acegi stuff at same time.

    I had deployed the acegi-sample-app while i tried to start my app. I...
  20. Replies
    4
    Views
    1,519

    Solved: it was not the web.xml file. There was...

    Solved: it was not the web.xml file. There was deployed the acegi-sample-app and tomcat has problems to manage two apps using the acegi stuff.

    I undeployed the acegi-sample-app and now it works.....
  21. HttpSessionEventPublisher exception at application starting

    Hi all.

    Im using spring + acegi security + tomcat 5.0.28.

    When i deply the app and i start it, tomcat says it cant because this exception:


    2005-10-07 15&#58;59&#58;44...
  22. Replies
    4
    Views
    1,519

    Something else in the ContextLoaderListener...

    Something else in the ContextLoaderListener javadoc:



    I changed to ContextLoaderServlet but its the same. Dosnt work.

    Im using Jakarta-Tomcat 5.0.28

    ?????????????
  23. Replies
    4
    Views
    1,519

    Thx, it didnt work but i have found something...

    Thx, it didnt work but i have found something interesting:

    after give the "No WebApplicationContext found" error, Tomcat loads the context:


    2005-10-07 15&#58;40&#58;18...
  24. Replies
    4
    Views
    1,519

    No WebApplicationContext found

    Hi all.

    Im developing a web app with spring + acegi security.
    When i try to start the app it cant because this error:



    java.lang.IllegalStateException&#58; No WebApplicationContext found&#58; no...
  25. Another questions (maybe they are not about web...

    Another questions (maybe they are not about web flow but they are in the line of the previous question):

    1. I get the byte[] data from the file upload. Now that i have this byte[] in my Controller...
Results 1 to 25 of 35
Page 1 of 2 1 2