hi,
i'm using jakarta-tomcat-4.0.1.
i made
servlet code that looks like below,
response.setContentType("text/vnd.wap.wml");
RequestDispatcher rd = getServletContext().getRequestDispatcher("/wml1.jsp");
rd.forward(request, response);
and i requested to that servlet,
browser gets content type "text/html" instead of "text/vnd.wap.wml".
how did i get this unexpected result?
does forward method changed response object's content type?
if then, how can i set the content type correctly
without specifying the content type to
jsp file(/wml1.jsp).