how to design this ?

Discussions

Web tier: servlets, JSP, Web frameworks: how to design this ?

  1. how to design this ? (1 messages)

    Hi, I have an interview and they asked me this question :

    Describe what files and classes you would need to develop in order to accept data from a "Contact us" web form.

    please if you were asked this question, how would you answer it ?
    Thank you your help is appreciated.
  2. how to design this ?[ Go to top ]

    Hi, I have an interview and they asked me this question:

    Describe what files and classes you would need to develop in order to accept data from a "Contact us" web form.

    please if you were asked this question, how would you answer it ?

    Thank you your help is appreciated.

    Um...

    First you need a web page to display the form.

    Secondally you need some java to pull the data out of the jsp and place it into the data store.

    If you where using model 1 then you could place this all in the jsp.

    If you are using struts you would:
    Create JSP
    Create a ContactUsForm
    Create a ContactUsAction
    Create a ContactUsService
    Create a ContactUsDao
    ...


    This question is to see if you have a clue about designing and building a webapp. If you can't answer this then you should get a book and read up!