Hi Pete,
I think that will be useful.  Can you send me that code?
Thanks much in advance.
Here is my direct email:    [EMAIL PROTECTED]

Regards,
-Thang

-----Original Message-----
From: Pete Ehli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 5:52 PM
To: [EMAIL PROTECTED]
Subject: Re: resource (JSP, java source code) for message board example


I have a program that is a simple servlet bb that writes to a flat file.

It's obvious that you could take this program and have it write to a
database and augment it to your taste. To get the next 50 or the
previous 50
would be an SQL statement - anytime the word database comes up read and
write procedures automatically point to SQL. I am sure you could set it
up
so that you specify the number - it doesn't have to be 50. The program
is in
"Inside Servlets" and I can email it to you if it would help - it's
simple -
but if it were complete what would be the challenge.
-- Pete -- [EMAIL PROTECTED]

----- Original Message -----
From: "Thang Nguyen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 3:04 PM
Subject: resource (JSP, java source code) for message board example


> Hello,
>
> I am looking for some examples that enable me to do something like
yahoo
message
> board.  The main thing I am looking for is how to implement the
Previous
50
> button or Next 50 button.
>
> Let's say all my messages are stored in an database, and there are a
lot
of them.
> I would like to get only 50 messages each time, what would be the
implementation
> for this.    Can someone suggest a design or please point me to a
place so
that I
> can get a sample code?.
>
> Thanks much for this.
> TN
>
>
===========================================================================

> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================

To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to