Assuming that the init is the one in the Servlet interface, then that will not work. A servlet's init method is not generally called upon the servlet context's initialization. It is called whenever the servlet gets initialized (which will be some time, possibly a long time, later).
Joined: Aug 07, 2008
Thanks dude got it now .
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com