This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hi Currently i'm working on Intranet Site which runs on technologies like JSP,IBM Websphere 3.5 and database MS-Sql. Here main problem occurs when concurrently user accesses same Module.Then Server sometimes throws 1. Null pointer Exception 2. Number Format Exception 3. ArrayIndex out of Exception
Note: This problem Occurs only when user concurrently accesses the same module. When there is no concurrent user then All my modules works fine.
It is extremely likely that you have not been paying attention to the Thread safety requirements of coding servlets. Probably there are one or more instance or static variables in your servlet/JSP that are dynamically changed during a request. Tch Tch! Bad Show! Thou shalt not use instance or static variables, only local ("automatic") variables for data that is specific to a particular request. Bill