Search:

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

Search: Search took 0.05 seconds.

  1. encapsulate db operations inside one transaction

    Hi to all!

    I have got a question regarding transactions using HibernateTemplate.

    I have encountered some performance issues in my project and tracked the problem down to the database operations...
  2. Replies
    3
    Views
    969

    I checked it ... and it is there and the...

    I checked it ... and it is there and the validation.xml is the only version!
  3. Replies
    3
    Views
    969

    need help with Commons Validator

    Somehow I don't get my commons validator to work after I changed my command class.

    I get following error message:


    java.lang.IllegalArgumentException: Validator...
  4. no controller called while accessing the welcome-file

    I have got a "start" file defined in my web.xml:


    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>


    My "mapping":
  5. Replies
    4
    Views
    5,806

    Thanks for all the answears! I found the problem!...

    Thanks for all the answears! I found the problem! I did not include the spring.tld!!!

    The strange thing about it is that I never got an error message! Like above spring:bind worked in some...
  6. Replies
    4
    Views
    5,806

    ${status.expression} does not work

    I hope no one feels offended if I post that much newbie questions but I'm at a point where I don't get any further without help.

    In previouse posts people suggested me to use ${status.expression}...
  7. Replies
    4
    Views
    1,007

    ...

    <spring&#58;bind path="user.user.username">
    <input type="text" name="$&#123;status.expression&#125;" value="$&#123;status.value&#125;"/>
    <span class="fieldError">$&#123;status.errorMessage&#125;</span>...
  8. Replies
    4
    Views
    1,007

    thank you for your answear ... I don't...

    thank you for your answear ...



    I don't think so because "user" is the name of the command class (UserFormCommand) and the second "user" after the dot is the name of the class User in the...
  9. Replies
    4
    Views
    1,007

    formBackingObject bindings lost

    Hi!

    Im still working on getting Spring known and in my sample application I have got a user form to add and remove users. I created a simple UserFormCommand Bean which holds a User object and a...
  10. Replies
    0
    Views
    1,050

    commons Validator - no error messages

    Hi!

    Im trying to integrate the commons validator. I used Matt Raible's guide (http://www.jroller.com/page/raible/20040712#using_commons_validator_with_spring) to do it - validation works but I get...
  11. Replies
    5
    Views
    1,447

    Hi! I did it this way: My...

    Hi!

    I did it this way:

    My SimpleFormController returns following


    return new ModelAndView&#40;new RedirectView&#40;getFormView&#40;&#41;&#41;, "messageLogin", ...
  12. Thread: NewBie QUestion

    by elLord
    Replies
    3
    Views
    874

    Hi! Im new to Spring as well as you are. ...

    Hi!

    Im new to Spring as well as you are.

    I think there are two ways:

    * either you display the FormView again with an error message
    * or you throw an Exception and map a page to this
  13. thanks for the fast answear! That is what I...

    thanks for the fast answear!

    That is what I want to avoid for so simple actions! For just one input field I have to create a new class that holds that value and the rest of the data. It is an...
  14. bind input to attributes other than the command class

    A newbie question again :wink:

    While playing around with a sample application I created a simple user manager. To add a user you have to enter a username, firstname, lastname, password, retype...
  15. Replies
    5
    Views
    1,447

    message if login fails

    I'm new to Spring and Im playing around with an example similar to jpetstore.

    I have a LoginFormController ( extends SimpleFormController) which evaluates the user login data and returns a...
  16. oops ... I missed that slash :shock: thank...

    oops ... I missed that slash :shock:

    thank you
  17. Signon with BeanNameUrlHandlerMapping newbie problem

    Im completle new to Spring and wanted to write a sample application from scratch. Now I want to make a signon similar to the petstore example.

    I have got a public Controller Access:



    <bean...
Results 1 to 17 of 17