Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dennismichel

    Vector vs ArrayList

    If the Vector is stored in a Session Object, I think each user has own Vector. Is it thread-safe?
  2. dennismichel

    Vector vs ArrayList

    I store the user's Vector in a Session Object. So, how each user has a session, I think it is possible to use an Arraylist. When a I need to get the data, I declare a vector variable and set to session object. This is a thread-safe method? What do you think? Thank's dennis
  3. dennismichel

    Vector vs ArrayList

    Hi I have a jsp application. In this program, each user may make simultaneous purchases. So I need a way to store several itens. I chose to use a Vector, but I read that's better to use ArrayList, because it's faster than Vector. In this situation, what should I use? Thank's dennis
  4. dennismichel

    url-rewriting

    Hi I think you need to pass the url with response.encodeURL(...) nandov
  5. dennismichel

    Is it good to set null to all variables?

    I have other question. In my jsp files I use the session object to store variables. When I set to null the session or other value, the variable stored lost the reference? And the variable is able to be collected by gc? Thank's dennis michel
  6. dennismichel

    Is it good to set null to all variables?

    When I declared a variable in a jsp file and I was redirected to another page, the variable lost the reference? I have an Vector of String Arrays and set null to it. In this case the arrays will be collected by gc? Thank's dennis michel.
  7. dennismichel

    Is it good to set null to all variables?

    Hi I have a jsp based application. I'd like to know if it's good practice to set all variables to null, after using. I read that it helps the garbage collector to determine unused variables. I have several variables such as String, arrays, vectors and arraylists. I set to null only the vectors...

Part and Inventory Search

Back
Top