Can anybody pls tell me how one servlet can conrtrol different functions..like if user clicks on login then the servlet should be redirected to exectute login code, if clicks on add then respected page should be called and executed..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.