Hi,

I'm using OrionRC1 (heard there were difficulties with RC2 and the final
release) with a servlet that generates XML and decides which stylesheet to
use (a web one or a wap one) depending on the user-agent type passed in the
httpservletrequest.

This works fine, except that the XSLServlet has a defaultcontenttype
parameter, which means ALL the output from it comes out as that
content-type.

Default is "text/html", and using that my WAP phone won't view the page
(even though it REALLY is WML), because it doesn't recognise "text/html" as
a valid content-type that it can handle.

And if I set the default content type for the XSLServlet to be
"text/vnd.wap.wml" my phone gets the pages OK, but now my browser obviously
doesn't play!!!

Is there a way to specify content-type within the XSL stylesheet itself (or
elsewhere)???

Or, can someone tell me more about what was covered briefly in the orion
docs about orion being able to "automatically" use the right stylesheet for
WEB or WAP???


Thanks very much,

David Middleton
[EMAIL PROTECTED]

winmail.dat

Reply via email to