"swriter: HTML (StarWriter)" ) )
|| ( multipartrequest.getParameter( "converttype" ).equals(
"scalc: HTML (StarCalc)" ) ) ) {
// Setting the content type of the response being sent to the client
// to text
multipartresponse.startResponse( "text/html" );
} else {
// Setting the content type of the response being sent to the client
// to application/octet-stream so that file will open a dialog box
// at the client in order to save the converted file
multipartresponse.startResponse( "application/octet-stream" );