hi guys,

  how can I sign off from the list?

On Wed, 2 Jan 2002, Christian Roslawski wrote:

> > I have tomcat3.2.3 which has web.xml file in it which to specify
> > the mime type. I used this file to specify my mime type (cacert) to export
> > to client. But
> > though i edited that xml document to set the mime type for cacert. The
> > tomcat server is not still exporting cacert format to the client. I dont
> > know whether i am doing
> > it correctly. If somebody has set a mime type in tomcat sever. can help in
> > this regard.
>
> Add mime-mappings to web.xml so Tomcat can set the content-type
> when serving static documents. To set the content-type of dynamic
> documents generated by a servlet call the function setContentType
> in class javax.servlet.http.HttpServletResponse (inherited from
> class javax.servlet.ServletResponse). For example:
>
>   response.setContentType("application/cacert");
>
> Hope this helps.
>
>   Chris
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to