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

  • Home
  • SEARCH
  • 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 6215513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:04:13+00:00 2026-05-24T07:04:13+00:00

I am new to java servlets. I studied some code about servlet but I

  • 0

I am new to java servlets. I studied some code about servlet but I really want to know more basic things and how it works. I just wonder what type of material/content can be sent from java servlet to a browser. Like http request or something? And how does brower know how to deal with this material? In addtion, for java bean. I know it is a java class. But, what is the purpose behind the development of the java bean concept.

  • 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-24T07:04:16+00:00Added an answer on May 24, 2026 at 7:04 am

    What type of material/content can be sent from java servlet to a browser?
    A servlet can return any kind of data to the browser (or whatever else made the request). The data is wrapped in a ServletResponse object, usually a HttpServletResponse.

    The response contains both the actual data and also meta data in the form of response headers, although we are now moving into the realm of HTTP, rather than servlets. You know how HTTP works, right? Yo

    How does brower know how to deal with this material?
    The response headers typically hint to the browser what type of data the response is, whether it is text, html, XML, etc. This is given by the response header called Content-Type. Again this is standard HTTP stuff, not really specific to servlets.

    What is the purpose behind the development of the java bean concept?
    The java bean standard is a convention used for writing POJOs. There are many tools that are specifically designed to work with classes written to the java bean standard. In relation to servlets and HTTP, the best example is probably JSTL, which allows you to access objects in a JSP so long as they follow the bean standard.

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

Sidebar

Related Questions

I know 'normal' Java, but am new to the world of servlets, containers etc.
I am new to java servlets. I learning from the basic. I have a
Hey I'm new to java servlets and I am trying to write one that
For a new Java web project I thought about using: Eclipse as IDE Mercurial
I am new to servlets and jsps. I wanted to know what the best
I'm building a web app for my lesson using java servlets. At some point
My java class (servlet) has been running fine, but recently, I noticed a problem.
Given a Java Servlet (running on a Windows server) which creates a new process
I am new in programming and this question may really be stupid but I
I have created a web system using Java Servlets and now want to make

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.