Browse by Tags

All Tags » Servlets (RSS)

java.lang.IllegalStateException: Cannot forward after response has been committed - Part II by lamia

Ok, perhaps some of you remember my post about IllegalStateException and what caused it on my first post. You can find it here . Right now, I encountered another one and this time, the servlet caused the exception and not the JSP. Got the solution right...
Filed under: , ,

Single Connection Object - A possible Danger by lamia

Hmmm... I always had a single connection object active for the entire app. After I discovered that only one servlet is instantiated for every servlet class in the application this problem quickly popped in my mind. Actually, this was a worry I just ignored...
Filed under: , ,

Java is not slow on server-side! by lamia

I know I've been in the field for quite sometime now... However, over and over I get to ask myself the question how many servlet instance is created in the container? At first I thought that multiple instances are created for each user and then reused...
Filed under: , ,