Hi,

I have a requirement that a servlet needs to be executed at the server
end whenever a html page is displayed in a browser.
while the get method of servlet is getting executed, the browser
displays a message the document contained no data. i dont want to write
any data back to the browser since the html page containing some data is

already being displayed. i tried closing off the servletoutputstream
without writing anything. this does not help.

the browser displays the same message even when i use
HttpResponse.setStatus(SC_NO_CONTENT).

following is the html file  :
<HTML>
   <HEAD>
<META HTTP-EQUIV="refresh" CONTENT = "0;
URL=http://204.144.145.28:8080/servlet/b">
<TITLE> The upload  </TITLE> </HEAD>
<body>
LIne one
Line Two
dkjfdkf
dfdjf

</body>
</HTML>


Any ideas on how to cause a servlet to be executed whenever a html page
is viewed without writing back any thing back to the client are welcome.
please note that i wont be able to use servlet tag or even .shtml
extension since i am using microsoft iis.


Thanks in advance,

Regards,


Javed

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to