Hi All!
Thanks for your suggestions. Now, I am trying one more option. In the
example program, Catalog.java is filling the catalog with some fixed
values. Instead I am trying to load the data from my FORM [3 hidden
variables].
I am doing this using the foll. method:
1. In my Product.Jsp program I am listing out all the products available
by Product Category. I am reading the data from Oracle 8i Database.
2. When the user clicks on the 'Add to Shopping Cart' button, I am
calling Scart.Jsp program which in turn calls the Catalog bean.
3. In the Catalog bean I am trying to add this selected Product into it,
so during checkout I will know all the products that the user has
selected.
The FORM [hidden] variables are passing the value to the Scart.jsp
properly [using request.getParameter method]. When I give the same method
in the Catalog bean the values are getting lost and I am getting
NullPointerException error.
Any suggestion please.
tks