RE: WML Generation from JSP broken!!!!

2000-12-18 Thread Miles Sabin
Tom Reilly wrote, > So here's my proposal: > > JSP 1.2 engines have mime type mappings like so (or something > like this): > > *.jsp -> application/jsp > *.jspx -> application/jsp-xml > > And documents of type application/jsp and application/jspx (or > whatever names we decide on) are handled app

Re: WML Generation from JSP broken!!!!

2000-12-18 Thread Tom Reilly
Works for me. Every mime-type usually lays claim to a default suffix or two and we should definitely pick one and say that there is an implicit mapping for that prefix. So if I name my pages jspx then I don't have to worry about setting any mappings to get a JSP container to interpret the page

RE: WML Generation from JSP broken!!!!

2000-12-14 Thread Miles Sabin
Nathan Abramson wrote, > I don't think it should be done through a server's MIME type > mapping - that means that someone writing a web app needs to > know about the mappings installed on the target server, which > makes the web app less portable. Hmm ... not convinced. I'd have thought that

RE: WML Generation from JSP broken!!!!

2000-12-14 Thread Miles Sabin
Tom Reilly wrote, > It seems to me there are a couple solutions: > > 1) look for jsp:root > 2) use DOCTYPE > 3) based it on file extension > > I don't like 1 because it adds overhead to the translation > process, and you have to deal with cases like: <%-- jsp:root > --%> > > I don't like 2 becau

RE: WML Generation from JSP broken!!!!

2000-12-14 Thread Nathan Abramson
I don't think it should be done through a server's MIME type mapping - that means that someone writing a web app needs to know about the mappings installed on the target server, which makes the web app less portable. I thought I remember there being similar discussions previously about how the "t

Re: WML Generation from JSP broken!!!!

2000-12-13 Thread Tom Reilly
It seems to me there are a couple solutions: 1) look for jsp:root 2) use DOCTYPE 3) based it on file extension I don't like 1 because it adds overhead to the translation process, and you have to deal with cases like: <%-- jsp:root --%> I don't like 2 because if your JSP page is generating XML

Re: WML Generation from JSP broken!!!!

2000-11-30 Thread Hans Bergsten
Danno Ferrin wrote: > > I am sorry to start this thread here, but I believe that jasper-4.0's > behavior is in error. The behavior I think the spec calls for in > determining if a page is a JSP Document (xml jsp) or an XMl document > with JSP markup is the presence or absence of a jsp:root eleme

Re: WML Generation from JSP broken!!!!

2000-11-30 Thread Danno Ferrin
I am sorry to start this thread here, but I believe that jasper-4.0's behavior is in error. The behavior I think the spec calls for in determining if a page is a JSP Document (xml jsp) or an XMl document with JSP markup is the presence or absence of a jsp:root element. This is further support

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Scott Jones
OTECTED]>; "Alex Tang" <[EMAIL PROTECTED]> Sent: Wednesday, November 29, 2000 5:50 PM Subject: Re: WML Generation from JSP broken > Is there a way to get the compiler to ignore the "" syntax? > > Otherwise this means that serving any page that is XML complia

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Davanum Srinivas
Thanks Craig. I was mixing two things.I got it to work by removing the directive for now. -- dims --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > Davanum Srinivas wrote: > > > Hi all, > > Attached is a JSP Sample file which generates WML. It works with no problems on >Tomcat3

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Alex Tang
Is there a way to get the compiler to ignore the "" syntax? Otherwise this means that serving any page that is XML compliant (WML, XHTML, etc) now requires a complete rewrite of all JSP files to run in 4.0. Thanks. ...alex... "Craig R. McClanahan" wrote: > Davanum Srinivas wrote: > > > Hi a

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Craig R. McClanahan
Davanum Srinivas wrote: > Hi all, > Attached is a JSP Sample file which generates WML. It works with no problems on >Tomcat3.1, but > fails miserably with the latest dev nightly snapshot and m4. Can someone shed light? > Well, your page certainly doesn't work under Tomcat 4.0 (which implement

WML Generation from JSP broken!!!!

2000-11-29 Thread Davanum Srinivas
Hi all, Attached is a JSP Sample file which generates WML. It works with no problems on Tomcat3.1, but fails miserably with the latest dev nightly snapshot and m4. Can someone shed light? Thanks in advance, dims PS: Am not currently subscribed to the list. So please CC me at "[EMAIL PROTECTED]