Im using Eclipse IDE so i have included all the jar files required
but i want to access through servlet only
There is a WebApplicationContextUtils class that you can call a method on to get the ApplicationContext. and from there you can call getBean(). You would put this code in the init method, so that the "service" is always available to the Servlet, instead of getting the bean for every client that is going through the doGet on every request.