Subject: Question on implementation with frames
From: "Hu Ji Rong" <[EMAIL PROTECTED]>
 ===
Hi,

I have a web page with 3 frames, a menu on top with three links to different
pages. When the links are clicked, the destination page will be displayed in
the middle frame. The bottom frame have a list of buttons like "save",
"cancel".

=======================
(Top Frame)
link1    link2    link3
=======================
(Middle Frame)
content of link1/link2/link3
=======================
(Bottom Frame)
Save/Clear/Print
=======================

Content of link1,2,3 are all forms with input fields and all fields are
actually belong to the same object such as "Airport". The purpose of this
app is to collection all the data fields of "Airport" which will be
displayed in content of link1,2,3 into database.

The reqirement is: when the user enter some fields in either link1,2 or 3,
these fields should be save in the memory(maybe an Airport object), the user
is allowed to navigate from link to link while these already entered fields
should display the entered data.

When "save" in the bottom frame is clicked, the program should check the
completion of mandatory field and save the object to db.

How can I implemented the action servlet? I am think about using one single
action class with parameters to know which link is clicked or "save" is
clicked, and use one single form bean to get all the fields. Will that work?

Thanks for reading such a long message.

JiRong



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to