Hi All, I currently have a JSP that contains WML content. I would like call a method on a java bean so that I can get data from a database and place this data into wml. Every time I call the JSP, I get the following error:- The Parser could NOT parse the current Deck. Please check the WML code. -Not WML content. I have also tested the bean in a JSP that does not contain any WML and it calls the bean ok. Part of the code in the jsp looks as follows:- <%@ page language="java" %> <%@page import="bean.*";%> <jsp:useBean id="getStockCheck" class="bean.GetStockCheck"/> <%@ page contentType="text/vnd.wap.wml" %> <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml>
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
1
posted
0
It sounds like something is not quite right about the WML. If it was my problem I would start with a JSP page that simply wrote a WML mockup of what you are trying to create. After you get the WML parsing right, try adding bits of code. Bill