Results 1 to 2 of 2

Thread: How to handle invalid submit with annotations in spring 3

  1. #1
    Join Date
    Oct 2009
    Posts
    21

    Default How to handle invalid submit with annotations in spring 3

    I have worked on a Spring app a few years ago, and was able to override the handleInvalidSubmit(req,res) method , in order to handle the invalid submit like going back and forth through the browser button.

    My question is how can I achieve the same while using annotations in Spring application.

    I am also facing another similar issue my new spring 3(annotation based) application. I am using DisplayTag library in order to display a list of objects in my JSP. When the results are more than a page's limit, it automatically creates the links to navigate on to the next and previous page etc. Those links used to work fine in my previous Spring application and all I had to do was to override

    protected boolean isFormSubmission(req)

    method and make it to return a true or false based on a condition such as if the request parameter map is empty. But again, I am not able to find any alternative to this method using annotations.

    I am new to the annotations, and would greatly appreciate any help on these two issues.

    Thanks.

  2. #2
    Join Date
    Oct 2009
    Posts
    21

    Default

    There is no reply in two days..

    Experts : Please help me out here.

    Thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •