Hi,

*.htm=ajp12 I have set this and tomcat delivers the html files, but
tomcat ignores all the <%   %> tags.

I use IIS 4.0 ... but as mentioned the tomcat already receives the html
files
but does not parse the content.

any Ideas ???


-----Ursprüngliche Nachricht-----
Von: Christopher Kirk [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 14. März 2001 18:22
An: '[EMAIL PROTECTED]'
Betreff: RE: How to make tomcat parse a *.HTM File ??



Have you tried setting  *.htm=ajp12, AND in httpd.conf move the mod_jk
higher up the list of modules (I believe that they are declared in a
'search' order)?

- Chris.


> -----Original Message-----
> From: Matthias Barmeier [mailto:[EMAIL PROTECTED]]
> Sent: 14 March 2001 17:01
> To: [EMAIL PROTECTED]
> Subject: How to make tomcat parse a *.HTM File ??
>
>
> Hi,
>
>
> I have a question:
>
>       What do I have to do to make JSP code work in *.htm files.
>       I would like to automatically add an authorization prefix to
>       any *.html and *.htm page of my old web. The java program works
>       fine but the <% ....authorize this code ....%> does not work.
>
>       I use IIS and Tomcat 3.1.
>
> Can anyone help ??
>
> Ciao
>       Matze
>
> My uriworkermap
>
> #
> # Simple worker configuration file
> #
>
> # Mount the servlet context to the ajp12 worker
> /servlet/*=ajp12
>
> # Mount the examples context to the ajp12 worker
> /examples/*=ajp12
>
> # Advanced mount of the examples context
> # /examples/*.jsp=ajp12
> # /examples/servlet/*=ajp12
> /*.jsp=ajp12
> /*.htm=ajp12
>
>
> My web.xml
>
> I added this to ../conf/web.xml after teh *.jsp entry
>
>
>       <servlet-mapping>
>               <servlet-name>htmtojsp</servlet-name>
>           <url-pattern>*.htm</url-pattern>
>       </servlet-mapping>
>
> /*
>     Dipl.-Inform. Matthias Barmeier        Tel: +49 (0)30 79 70 72 87
>     bit-side GmbH                          Fax: +49 (0)30 79 70 72 88
>     Salzufer 14a Aufgang D                 Email:
> [EMAIL PROTECTED]
>     10587 Berlin                           WWW:
<http://www.bit-side.com>
*/




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to