JSP's with WML pages

Hello,

Well i have some problems using JSP pages with WML pages. I am using Tomcat (3.1) and i

changed it's web.xml file in the d:\Tomcat\etc folder for MIME types.

The toolkit for WAP which i am using is "Nokia Toolkit 2.1".

Well i have seen other Tomcat which have "Conf" folder and has web.xml in it but in my Tomcat

Server i have web.xml in the "etc" folder and i have changed it's web.xml file for the use

of WML pages (MIME type).

The problem is that i call a JSP page from a WML page and the JSP after processing results

from a bean calls a WML page but unfortunately the content or result cannot be shown on the

Toolkit (Simulator) and the error is "Content type text/plain is not allowed".

So the results cannot be displayed on the simulator.

So please let me know that what should i do? it's really important for my project.

Anxiously Waiting for a positive response.

Ishtiaq

[985 byte] By [ishtiaqbutt] at [2007-9-26 1:22:14]
# 1
if user has a WAP browser:response.setHeader("Content-Type","text/vnd.wap.wml");
punslappy at 2007-6-29 0:59:00 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
> if user has a WAP browser:> > response.setHeader("Content-Type","text/vnd.wap.wml");or u may need to use some transformation tools to help u. for plain text output to wml output.
zoepeng at 2007-6-29 0:59:00 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...