Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help for JavaScript, JSP, JavaBean for sample Application

 
munish gupta
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Strachan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, an ajax request (if you don't want to refresh the page)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic