I recently installed iPlanet 4.1 Web Server. My servlet was working fine before but now it crashes. I traced the crash to a statement CartItem ci = (CartItem)ShoppingCart.elementAt(x); CartItem is a class I made for objects to be stored in the Vector ShoppingCart, which is stored in an HttpSession.
CartItem is a class I made for objects to be stored in the Vector ShoppingCart hmm...isin't it true that you can store any type of Objects in a Vector. In other words, all the elements in your Vector need not necessarily be CartItems. You might want to see what you are adding to the ShoppingCart... regds. - satya ps: Oh! maybe the user added his/her discount coupon to the ShoppingCart...... sorry! couldn't resist.....
Take a Minute, Donate an Hour, Change a Life