tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <>
Subject Re: WAP Configuration
Date Thu, 30 Nov 2000 08:33:56 GMT
> Second, the content type that is created by a JSP page is controlled by what your
> page declares in the "page" directive, not by Tomcat.  If you wish to have the
> output treated as XML, for example, you would include a directive like this at
> the top of your pages:
>     <%@ page contentType="text/xml" %>
> You will need to review the documentation of the WAP Toolkit you are using to
> determine what content type it is expecting, but the choice of content type is up
> to the page author, not the servlet container.

Just to save the original poster the trouble of looking it up, the content
type you want is:



View raw message