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.
-
how to design this ? (1 messages)
- Posted by: majid abdel
- Posted on: April 29 2005 12:59 EDT
Threaded Messages (1)
- how to design this ? by Matthew Wilson on April 30 2005 20:25 EDT
-
how to design this ?[ Go to top ]
- Posted by: Matthew Wilson
- Posted on: April 30 2005 20:25 EDT
- in response to majid abdel
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!