For Knowledge of JSP, Servlets, Java script and CSS i am trying to build a sample application.
Application Brief :
There are 5 gaming stores. Every Store has different products.
The store's list and Product's list are to be read from a property file. [ Hard coded as of now ]
The attributes of products have to be saved in JAVA BEAN.
The StoreWise product's list is stored in HashMap.
Depending on the store selected the product list should gets populated on same page without refreshing the page.
While selecting the store, I am getting the index of selection.
But i am struct while passing this index [ JavaScript variable ] to HashMap [JAVA variable] to get
the storewise list of products.
e.g.
hashmap has key value like
HASHMAP <0> , LIST<a,b,c,d>
<1>,<LIST<e,r,t,y>
<2>,<LIST<e,r,t,y>
LIST is list of products
0,1,2 are indexes of stores
Could you please help regarding same if I can use something else.
Can I use Someother JAVA technology [AJAX or else] for same.
Thanks
Munish.