Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet

 
ajay verma
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the exact meaning of mime(multipurpose internet mail extension)?
pls let me know asap.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a verma,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseAMeaningfulSubjectLine
The subject line 'servlet' is completely unrelated to your question.

Also see EaseUp to find out why adding things like 'urgent' or 'asap' to your posts will tend to slow down or halt responses to your questions altogether.

Lastly, please see
UseRealWords.

Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Again, welcome to JavaRanch and good luck with your question.
-Ben

I'm going to move this thread to our General Computing forum.
Mime types are used in many technologies besides JSP.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The mime type is a short string (usually passed in a header) that lets a an application know what type of content it is receiving.

For instance, when a browser makes a request to a server, it expects the response to be of type 'text/html'. Often however, the browser will send something else, like an image, a spread sheet, or a PDF document. In these cases, the application sending the content can let the receiving application know what it is with content-type or mime type header.

Since you originally asked this question in the JSP forum, I'll mention that the HttpServletResponse object has a setContentType method that can be used to set this header.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic