OK, I have been playing with this and wrote my project following the
examples in the link you sent. I am having problems compiling the servlet
because it doesn't know about the Bean. I think my problem here is that I
don't understand packages. Can you or someone else explain how packages work
for me?

thanks,

Aaron

                <<:::..:::...::: Aaron Prohaska :::..:::...:::>>
VerdeSoft Internet Services
mailto:[EMAIL PROTECTED]          http://www.verdesoft.net/


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Donald Vandenbeld
Sent: Tuesday, July 18, 2000 12:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [JSP-INTEREST] Storing sessions


I think the easiest thing to do would be to create a bean for each item
(with item number, decription, price, and quantity properties) and then keep
a vector of these beans as a session variable.

I think this article is what you are looking for:
http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html

----- Original Message -----
From: "Aaron Prohaska" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 18, 2000 12:27 PM
Subject: Storing sessions


>
>
> Hello all. I am trying to figure out how to store a group of parameters in
> session so that I can store multiple groups and print this out into an
html
> table. What I can't figure out is how to store a group of parameters in
the
> session object. My group of parameters consists of this: Item,
Description,
> Price, Quantity, and Total. Now I need to store those five parameters with
> difference values for each item that I have. So my html table would look
> something like this.
>
> Item            Description             Price           Quantity
Total
> 8923            some description        $80.29          4
$321.16
> 2983            second product desc     $20.50          2
$41.00
>
> I have been thinking about holding this information in an object and then
> holding the object in session, but I can't figure out how to a uniqe
object
> for each product. I also realize that a database would be the best way to
do
> this, but I can't use a database for this, so session seemed to be the
next
> best thing.
>
> Also, is there anyway to create multiple uniqe sessions? I seem to
remember
> that there is a way to do this using ASP/VBScript, but I can't seem to do
> this same thing in Java.
>
> thanks,
>
> Aaron
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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