Re: [Webwork-user] Content-Type
Brought to you by:
baldree,
rickardoberg
From: Rickard <ri...@jb...> - 2000-12-18 08:41:20
|
Hi! Ralf Purnhagen wrote: > we wanted to use webwork for an internet application and plan to > support wap-devices in the near future. >=20 > There seems to be no problem with generating wml but we where not > able to set the corrent content-type for tomcat. In JSP-Pages > without webwork we can just write > <%@ page contentType=3D"text/vnd.wap.wml" %> > at the beginning of the page, and everything works fine. When > we use webwork, this tag is ignored because of the use of > javax.servlet.RequestDispatcher.include. >=20 > Is there another possibility to set the content-type in the > jsp-Page? I just tested this, and it worked great! (I'm using Tomcat 3.2 final) This is excellent, since it solves a problem we've discussed before (how to set content type). I tried to put the above directive at the top of the simple.jsp page, and it worked great. Do you have more info on your case? /Rickard --=20 Rickard =D6berg Email: ri...@jb... |