I have been working on Servlets and JSP from past one year,
So understanding concepts was not too difficult.
I would recommend, don't set any particular timeframe, rather read for knowledge, practice as much as possible creating small web applications.
After a while you will yourself know when you are ready.
Still, if you are not convinced, i think around 2 months of preparations is enough
Best of luck !!!