I’ll describe the solution I used.

This is the servlet:

http://myvhost.myhost.it/mywebapp/myservlet that produce html with include virtual.

Inside the configuration of the myvhost I’ve added this directive to force all the “thing”  coming from that location to be text/html:

<Location "/mywebapp/myservlet ">

     ForceType text/html

     AddOutputFilterByType INCLUDES text/html

</Location>

 

Bye,

Luca

 


From: Rasconi Luca (u.e.) [mailto:[EMAIL PROTECTED]
Sent: martedì 13 dicembre 2005 11.05
To: [email protected]
Subject: [EMAIL PROTECTED] RE: tell apache2 parsing html generated from a servlet

 

 

 


From: Luca Gmail [mailto:[EMAIL PROTECTED]]
Sent: martedì 13 dicembre 2005 11.01
To: '[email protected]'
Subject: tell apache2 parsing html generated from a servlet

 

Hi all,

i’m using apache 2 with resin. How can I tell apache to parse the output generated by a servlet? This because the html generated by the servlet contains include virtual directive.

Tnx,

Luca

Reply via email to