wmlc
Everyone, hi. I'm playing around with wml and wap and all that using Tomcat. A couple of questions: (1) can anyone point me to a wmlc bytecode generator that could be integrated with tomcat? (2) assuming I can find one, what are the advantages of wmlc over standard wml (sorry if this is slightly off topic; wmlc is, as I understand it, a compiled & compressed version of wml) regards, Graham btw, here's a Tomcat based application I've been working on at the British Broadcating Corporation: http://news.bbc.co.uk/hi/english/static/in_depth/uk/2001/budget_2001/byoc/byoc.htm Graham Stark The Institute for Fiscal Studies 7 Ridgmount Street, London, WC1E 7AE, UK work: (+044) 020 7291 4837 fax: (+044) 020 7323 4780 home: 01908 618239 mobile: 0774 891 4796 http://www.ifs.org.uk virtual economy! http://ve.ifs.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: wmlc
On Sat, 10 Mar 2001, RameshBabu R Muthuvel wrote: > Hi Graham > > I am trying to run WAP application (tomcat-apache on windows NT) using phone > simulators. I get a 404 error. > > I am looking for: > > 1)can you send some details on configuring tomcat for serving WML decks As far as I can see (and I'm fairly new to this myself) it requires no extra configuration. > 2)What plugins i would need > > I had already added the required mimetype mappings in the tomcat "web.xml" > file, and apache "mimi.types" file. > If you've done this, the only thing I can think of is setting the mime type in the servlet response: res.setContentType("text/vnd.wap.wml"); Perhaps there is a problem with your emulator? regards, Graham x > thanx in advance > > ramesh > > > > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > Graham Stark The Institute for Fiscal Studies 7 Ridgmount Street, London, WC1E 7AE, UK work: (+044) 020 7291 4837 fax: (+044) 020 7323 4780 home: 01908 618239 mobile: 0774 891 4796 http://www.ifs.org.uk virtual economy! http://ve.ifs.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: jsps xhtml and Internet Explorer
Bill, many thanks: that worked perfectly. Graham > MSIE has a bad habit of ignoring Content-Type, so I don't know that this > will work. However, what you want is: > > > (of course, change the charset if you aren't using iso-latin-1). > > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi there, > > anoyone know this one? > > > > I have a jsp page written to the xhtml standard. It looks like this: > > > > > > > > > > http://java.sun.com/JSP/Page"; > > xmlns:html="/WEB-INF/struts-html.tld" > > xmlns:bean="/WEB-INF/struts-bean.tld" > > xmlns:dt="http://jakarta.apache.org/taglibs/datetime-1.0"; > > xmlns:c="http://java.sun.com/jstl/core"; > > xmlns:fmt="http://java.sun.com/jstl/fmt"; > > version="1.2"> > > > > > >[...] > > > > > >[...] > > > > > > > > > > > > All seems fine. The page compiles properly and looks nice on every browser > I've > > tried. Except Internet Explorer (v6), where it simply displays the XML > source tree. > > > > I tried adding: > > > > > > jsp > > text/html > > > > > > (and simlarly for xhtml) to the web.xml (both the webapp one and the > global one). > > > > > > I'm using tomcat 4.0.6 and java 1.4.1 (I can't easily upgrade these > because this > > is what my client use). I've had a search through the FAQs, this list's > archive > > and on Google and can't find the solution. > > > > Has anyone seen this before? > > > > Many thanks, > > > > Graham > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Graham Stark, Virtual Worlds phone: (+044) 01908 618239 mobile: 07952 633185 Homepage http://www.virtual-worlds.biz Virtual Learning Arcade http://www.bized.ac.uk/virtual/vla Virtual Economy http://www.bized.ac.uk/virtual/economy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jsps xhtml and Internet Explorer
Hi there, anoyone know this one? I have a jsp page written to the xhtml standard. It looks like this: http://java.sun.com/JSP/Page"; xmlns:html="/WEB-INF/struts-html.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:dt="http://jakarta.apache.org/taglibs/datetime-1.0"; xmlns:c="http://java.sun.com/jstl/core"; xmlns:fmt="http://java.sun.com/jstl/fmt"; version="1.2"> [...] [...] All seems fine. The page compiles properly and looks nice on every browser I've tried. Except Internet Explorer (v6), where it simply displays the XML source tree. I tried adding: jsp text/html (and simlarly for xhtml) to the web.xml (both the webapp one and the global one). I'm using tomcat 4.0.6 and java 1.4.1 (I can't easily upgrade these because this is what my client use). I've had a search through the FAQs, this list's archive and on Google and can't find the solution. Has anyone seen this before? Many thanks, Graham - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 and well-formed XHTML
Sjoerd, I had the selfsame problem last week. The solution (thanks to Bill Barker) is to add: to the page. Graham > I want to run this code on tomcat 5, on port 8080 in Internet Explorer, > but something strange happens: > > When I run the following code > > ::: CODE ::: > > > http://java.sun.com/JSP/Page"; version="1.2"> > > contentType="text/html ; charset=ISO-8859-1" > pageEncoding="ISO-8859-1" /> > > http://www.w3.org/1999/xhtml"; xml:lang="en" > lang="en"> > > Test2 > > > > Test2 > > > > > > > > ::: END CODE ::: > > You will expect a nice XHTML page from it. In Netscape and Mozilla it is > exactly this, but when running in IE6, I get a XML-tree instead of a > page, which I expected. > > Also when I look at the properties, I note a strange value, the Type > value of the page contains "JavaServer Page", which shouldn't be filled > at all. So how can I change this, so I get IE6 working? > > Thanks in advance, > Sjoerd van Leent > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Graham Stark, Virtual Worlds phone: (+044) 01908 618239 mobile: 07952 633185 Homepage http://www.virtual-worlds.biz Virtual Learning Arcade http://www.bized.ac.uk/virtual/vla Virtual Economy http://www.bized.ac.uk/virtual/economy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]