• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Help for JavaScript, JSP, JavaBean for sample Application

Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
hashmap has key value like
HASHMAP <0> , LIST<a,b,c,d>

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.

Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, an ajax request (if you don't want to refresh the page)
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic