why don't you make it as " *.shtml " file and run it with
<servlet></servlet>  tag.




----- Original Message -----
From: Jinfeng Ni <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 18, 2000 10:53 AM
Subject: Invoke a servlet in html


> hi,
>       I meet a problem. I want to run a servlet when user open
> one html. I edit the html file like this:
>
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
> </head>
> <body bgcolor="#FFFFFF">
> <script language="JavaScript" src="/servlet/Hello">
> </script>
> </body>
> </html>
>
> ==========================================
> But it failed. I  was told that there is a syntax error!
>
> How to implent this request?
>
> Any help will be appreciate!
>
> Jeff Ni
>
>
> _____________________________________________
> 263�׶�����--�й��˵����ϼ�԰ http://www.263.net
> ���ʡ���ѡ�����ʡ�����ѣ��충�����׵��ӿ��http://www.soim.com
> �����ţ��㣬��������Ʒ��http://www.thepoints.com
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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