Click to See Complete Forum and Search --> : java servlet page content


zoro85
06-27-2005, 11:32 AM
JSP:
<%@ page contentType="application/vnd.ms-excel" %>

how do i convert this to servlet ??

Karthikeyan
06-28-2005, 12:06 AM
You can set the content type using the Response object. Like

response.setContentType( "your content type" );

I think this helps you..

zoro85
06-28-2005, 01:41 PM
thanks