Results 1 to 2 of 2

Thread: JSP form entry

  1. #1
    Join Date
    Sep 2004
    Location
    Sacramento, CA
    Posts
    8

    Default JSP form entry

    I have a collection of jsps that I would like to use Spring backed forms with. I would like to be able to access them by via the URL to the jsp rather than the controller entry point (ie login.do).

    The problem I have is how to intercept the request to setup the values needed for the spring tags. If I have the DispatcherServlet handle *.jsp, I end up in a loop when RequestDispatcher.forward() is called and control is handed back to the DispatcherServlet again. If I allow *.jsp to keep its default mapping, I can't use the <spring:bind> tags.

    Is this possible or am I complicating things unnecessarily?

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Take a look at org.springframework.web.servlet.view.UrlBasedViewR esolver in Javadocs and section 12.5.1 of reference docs.

Similar Threads

  1. Replies: 3
    Last Post: Jun 8th, 2010, 03:27 AM
  2. Replies: 6
    Last Post: Sep 22nd, 2006, 09:08 AM
  3. Replies: 9
    Last Post: May 4th, 2006, 09:53 AM
  4. Replies: 0
    Last Post: Jun 10th, 2005, 08:22 AM
  5. Replies: 0
    Last Post: Jan 27th, 2005, 12:17 PM

Posting Permissions

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