While i am running the servlet, its telling that "cannot forword response/forward already coommited"
What is exact problem. I am creating RequestDispatcher when the condition is true only. if the first condition is true, the controller will go to the resource specified in the path. so no way to excute the remaining servlet. but its excuting. thats why its coming like that.(I think)
when i include return statement immediatly after forward method calling, its working fine. why its so.