Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6742083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:48:04+00:00 2026-05-26T11:48:04+00:00

Where are servlets used today ? I know that servlets are modules that run

  • 0

Where are servlets used today ?

I know that servlets are modules that run inside request/response-oriented servers, such as Java-enabled web servers. But now i don’t hear anyone working with servlets.It may be that ‘I’ don’t have people around who are much interested in servlets. But the thing is where servlets are used can’t we write scripts in PHP or program in asp for that part ?

When i came to know that JDK’S IO classes can only work with system files,i thought of writting the particular application in php but because i love java i gave a look at servlet.

My knowledge of servlets is not much,but because i needed some application on server that could generate a response when a button is clicked from my applet i came across servlet. But then i thought is there anything that only servlets can do ?

So,is it worth learning to write servlet (or should i do in php/asp) when my goal is to write on a remote server file ?

UPDATE

This question is open to more ‘fine` answers.None of the answer has actually answered the question

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:48:04+00:00Added an answer on May 26, 2026 at 11:48 am

    In the web (client-server) environment, a typical requirement is that browser submits some data to the server and server executes some code to fulfill the request. Most of the web technologies provide some way or the other to achieve this. Servlets is the Java way to do this. I believe there isn’t anything which a Servlet can do and a PHP/ASP cannot do. Its the matter of choice of platform. If your platform is Java you use Servlet (explicitly or implicitly) or else you use ASP (MS platform), PHP (LAMP).

    And this is not the end, whether you use Servlet/PHP/ASP depends on lot many other factors such as

    • Existing development platform if you want to leverage it
    • Development time (some type of sites can be developed much quicker in PHP than in java )
    • Your budget off course
    • Existing know how (you don’t wanna learn ASP if you already know PHP)
    • Open Source / Developer Community support

    To answer your specific question, I am not aware if any use case wherein only Servlets can do but at the same time I am limited by my experience. I would be curious to know of such a use case exist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that J2EE can be used for JSP + Servlets. However, can I
I'm sending multipart/mixed content message from JSP to servlets but when I used ServletFileUpload.isMultipartContent(request);
I have inherited a Java application (servlets) that runs under Tomcat. For historical reasons,
I just started playing with Google App Engine and Java. I've used Servlets in
I am used to structural programming (eg:C), OO programming(eg:Java), Scripting(eg:Javascript), Web (eg:HTML,JSP,Servlets,CSS) etc. Now,
I am building a java server that needs to scale. One of the servlets
I have a servlet that is used for many different actions, used in the
I have servlets that caches user information rather then retrieving it from the user
I've inherited a web project (Servlets) which is currently build inside eclipse. I want
I'm using java servlets and jsp in my application and I need to read

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.