I am writing JSP pages which generate WML pages (as opposed to the default
HTML). My problem is that WML requires the following in every page:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
    "http://www.wapforum.org/DTD/wml_1.1.xml">

The JSP engine I use (JRUN) gives all kinds of errors about the "<?"
directive. My current patchy workaround is:

<%= "<?xml version=\"1.0\"?>" %>

Anything better ?

Thanks

Erez


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to