MVC

Discussion in 'Java' started by Nag, Jul 1, 2005.

  1. Nag

    Nag Guest

    Hi,

    I have a controller1, which forwards the request to controller2 .
    In controller2, I process the form requests and hit the database and
    fetches the results and pass the results to
    view1(jsp). I have two forms in view1. one is "displayForm" and another
    is "dataForm". dataForm is hidden to the user.
    The purpose of "displayForm" is used to show the results and allow the
    user to do some client side validations.
    When user submits the "dataForm"( submit button is part of "dataForm"
    in jsp), the request goes to
    Controller2 to make the changes to the database.

    So, here my question is, In controller2....how to differentiate whether
    the request is coming from "controller1" or "dataForm / view1"?

    Thanks for your inputs.
    Nag, Jul 1, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. winglite
    Replies:
    1
    Views:
    422
    Natty Gur
    Nov 3, 2003
  2. Guest

    MVC Model in .Net

    Guest, Nov 10, 2003, in forum: ASP .Net
    Replies:
    7
    Views:
    2,182
    Jeff Louie
    Nov 29, 2003
  3. rmn190
    Replies:
    2
    Views:
    2,356
    Arne Vajhøj
    Jan 10, 2008
  4. Paulo
    Replies:
    3
    Views:
    477
    Peter Bromberg [C# MVP]
    Dec 4, 2008
  5. Crazy Cat
    Replies:
    1
    Views:
    684
    schepp
    Sep 3, 2009
Loading...

Share This Page