A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Setting the content type of Servlet to text/html
Joined: Sep 18, 2005
Feb 22, 2007 02:38:00
I have a
that forwards/includes a
. I have set the mimetype of my JSP to text/html. Would it make any effect if I also make the response of the Servlet to text/html by using response.setContentType("text/html")? Thanks!
Author and ninkuma
Joined: Jan 10, 2002
Feb 22, 2007 09:44:00
No, there is just one response.
Asking smart questions
Books by Bear
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Setting the content type of Servlet to text/html
is servlet and jsp same?
how to save jsp report to the text file
assign html input text box value into jsp var
csv with jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015