Search:

Type: Posts; User: jmc117

Search: Search took 0.17 seconds.

  1. HashMap into Struts select menu?

    I have a hashmap of of keys and values (both strings)

    the values are retrieved out of a database, and put into a form bean's hashmap variable. now i want to use a <s:select> menu and display the...
  2. [SOLVED] Re: Help reading a txt file into a datatype similar to a db

    Alright, I'll see what I can do. If I need any more help I'll come back to this thread. I appreciate it. I wasn't able to even think of the idea of an Map/List of objects until you helped me so...
  3. [SOLVED] Re: Help reading a txt file into a datatype similar to a db

    by key. So going with your first advice, I create a class similar to this but with getters and setters and a constructor like
    public class Product {

    public Product(int id, String name, float...
  4. [SOLVED] Help reading a txt file into a datatype similar to a db

    For my project I in phase 1 we cannot use a database and I am having trouble figuring out what to do. the textfiles are like

    ProductID1 ProductName1 Price1 Quantity1
    ProductID2 ...
Results 1 to 4 of 4