I wrote a simple servlet init()and doGet(), doPost(). I have a requirement that I have an API that I need to call the server to start.
Is it possible to do this. I tried using the init method and set the default values ββin web.xml, but I still can not do this.
Tell me if something is missing.
thank
source
share