|
Re: xhtml compatibility guideline: msg#00048java.enhydra.xmlc
The appropriate mime-type for xhtml is: application/xhtml+xml However, browsers (other than Mozilla...maybe Opera 7?) don't recognize that. So, the only real way to serve it up for stupid browsers (read IE here) is to send it as text/html. I would think you should be able to set the mime type on your own. I don't use Enhydra, so I'm not sure what the setup is there. If you were using a servlet-2.3 capable container, then you could use a servlet filter to modify the content-type header before it is sent to the browser without modifying anything in XMLC. The problem is, I think Enhydra 5 is still using Servlet-2.2, right? Hopefully that will change soon. Either way, you'll have to make it so that the XHTML gets served with a mime-type of text/html or application/xhtml+xml to make things work. Jake At 09:46 PM 12/21/2002 +0100, you wrote: On So, 2002-12-21 at 08:18, Jacob Kjome wrote:
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: xhtml compatibility guideline, Petr Stehlik |
|---|---|
| Next by Date: | Re: xhtml compatibility guideline, Mark Diekhans |
| Previous by Thread: | Re: xhtml compatibility guideline, Petr Stehlik |
| Next by Thread: | Re: xhtml compatibility guideline, Petr Stehlik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |