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-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 appropriately

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 because if your

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-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 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

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 element.

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 ?xml version="1.0"? 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

Re: WML Generation from JSP broken!!!!

2000-11-29 Thread Alex Tang
Is there a way to get the compiler to ignore the "?xml version="1.0"?" 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