Results 1 to 2 of 2

Thread: Action method parameters, how many, and what are they?

  1. #1
    Join Date
    Mar 2012
    Posts
    25

    Default Action method parameters, how many, and what are they?

    How can I know what parameters an action can take and return?

    As of now, I know of

    someAction(HttpServletResponse response, HttpServletRequest request, Model model)...

    is there any more? Is there a reference for this?

    What is the intention of Model, since I know you can return a ModelAndView as well...

    Can you return a Model as well?

    Thanks!

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    I suggest google which would have quite easily pointed you to the reference guide.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

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
  •