Anurag Verma wrote:Welcome to CodeRanch Dev,
Yes, you can add your methods in the servlet class. breaking your code into methods is always recommended for having a clean code. In this particular scenario, applying few design patterns will make your code even better.
Dev Kulkarni wrote:Thanks Anurag..