W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2000

Re: How to get Amaya to recognize JSP pages as HTML?

From: <Irene.Vatton@inrialpes.fr>
Date: Mon, 10 Jan 2000 12:57:11 +0100
Message-Id: <200001101157.MAA10241@tahiti.inrialpes.fr>
To: Edward Moon <em@mooned.org>
cc: www-amaya@w3.org
In-reply-to: Your message of Mon, 10 Jan 2000 00:46:19 -0800."
             <Pine.LNX.4.10.10001100043360.24623-100000@gate.mooned.org> 
> I'd like to edit some Java Server Pages using Amaya. Because the files
> have a .jsp extension instead of .htm or .html, Amaya won't recognize them
> as a HTML type document and disables the HTML features and also won't
> syntax color the files.
> 
> Is there a config fire I can edit to change Amaya's behavior? I've looked
> around and haven't found anything I can edit to do this.
> 
> Thanks,
> 
> 

The document type is fixed either by the mime-type given by the server or
the suffix. The suffix list is hard-coded. I added jsp in the list for the 
next release.
Meanwhile if you have a server, you can solve your problem by loading these
files through the server with the mime-type.
  Irene.
Received on Monday, 10 January 2000 06:57:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:21 UTC