Re: Need help with storing result set

Darian Shimy <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <F7BC2FD707C3D3118C8800508B6F997D0A8AFBEA@24hrsdexch2.24hourfit.com>
When you say "so they can retrieve the data later", define later.  If later
is a few page requests, then the session object would be fine.  If later is
a different browser session, sessions are not really a viable option.  You
could use cookies in that case.

However, I think the architecture of you application should be revisited.
Please see:
http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html

--
Darian Shimy

> -----Original Message-----
> From: Tom K [mailto:[email protected]]
> Sent: Thursday, March 27, 2003 2:46 PM
> To: [email protected]
> Subject: Need help with storing result set
>
>
> I have a servlet that retrieves result set data, and displays the data
> in html format. I would like for the users to be able to
> "check mark" a
> check box in the displayed html so they can retrieve the data later
> (based on the primary key field). Do I store it in a session, a
> cookie???????
>
> I would only be storing at a maximum 15 key values which are 11 digits
> (long).
>
>
> Thanks,
>
> TK
>
> ______________________________________________________________
> _____________
> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.