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:20:45]
# 1
Try to put this code in the top of the jsp, if you didn't do yet.<%@ page contentType="text/vnd.wap.wml" %><?xml version="1.0"?>
fezcurra at 2007-6-29 0:55:21 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...