Assuming you're using http://virtualschool.edu/wap... (adjust otherwise)

        1) Write a GetDataPage (subclassing AbstractPage) that gets
        the data from the user and stores it in a Bean (subclass
        of AbstractBean) that stores it in the database.
        2) Write a ViewDataPage (subclassing AbstractPage) that
        presents a form staff can use to select database records,
        or if a record selection has been made, displays the
        bean that contains the selected record.

Similar if you're using raw JSP, but its far easier with JWAP.

At 2:34 PM +0100 6/29/01, Gareth James wrote:
>Jonathan,
>
>Thanks a lot for that. I was with you all the way through, then, until you
>said this:
>
>>I'm assuming you would create an html document consisting of the table of
>table, this is very simple to do, all you do is create >a PrintWriter and
>output the html back to the user.  This can then be displayed in a browser
>window or a java html pane >etc...
>
>It's very similar to what other people have said to me, what I don't
>understand about it is this:
>why would I have to output the html back to the user? Can't I just keep the
>html at the server side?
>Do you see what I mean? It's the people at the server side that want the
>html viewable database table and not the people who are sending this
>information.
>
>Hope I'm clearer this time :o)
>
>thanks again
>
>Gareth James
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


--
---
For industrial age goods there were checks and credit cards.
For everything else there is mybank.dom at http://virtualschool.edu/mybank
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to