Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: JSP Beginner needs urgent help with new project


Message #1 by "Chris Cote" <chrscote@9...> on Tue, 9 Jul 2002 18:41:08
I am having some trouble figuring out how to use JSP technology for an 
internal project.  Here is the gist of a project I've been asked to 
develop and code in JSP:  Many of the people in our company makes contacts 
with people in other companies about projects for them.  In order to keep 
track of who, from our company, meets with from the other companies.  To 
do this, our DB person has come up with a database model where each piece 
of information needed for each contact is in a separate table.  For 
example, the details of the company the representative was from goes into 
one table, while the project's details go into another table and the 
actual contact's information in another table. 
    What I am to create is a way for our users to be able to add, delete, 
or update any of these entries.  As an example, if we meet with someone 
from a new company, someone would need to add a company and the new 
contact which associates the contact with this company.  If later, they 
leave, then we need to delete the company, the contact and any other 
projects that may be connected with this company.  After reading the JSP 
Site Design book, I've found that it seems to make sense to use Model2 
architecture.  Since I'm only a beginner in JSP programming, or any Java 
for that matter, I am not quite sure how I would implement this, though.  
     The other important issue related to the development of this project 
is that the main page displays all of this information.  When someone 
changes the project from a drop-down, all of the information concerning 
this project (company, contact info, etc) is displayed.  Users then can 
decide to add a project or modify the company associated with the project, 
or update the contact's info.  And when you get to any of the underlying 
pages, users can select to add, delete or modify any other information 
from a menu at the top of the page.
     As of right now, I have separate pages for each table (a project 
page, a contact page, and a company page) where users can add, delete or 
modify each entity.  The view depends on what Mode is sent in through the 
url.  (ie if the user wants to add info then I include MODE=Add in the URL)
     I'm sorry for the length of this message, but I wanted to give as 
much information as I could to help anyone who may be able to assist me.  
I am not asking anyone to actually go out and do a similar type of 
project.  If you could just explain to me how to go about working on this, 
it would be greatly appreciated.

Thank you in advance,
Chris

  Return to Index