Why ASP <%@ %> does not work

Costas Menico costas at springmail.com
Mon Feb 19 05:22:34 CET 2001


Hi,

 I am trying to execute the following page in PWS which contains
Python ASP. However it does not execute to display the "text".
 I have installed the latest  ActivePython .  Is there some registry
setting that I should be dong? I know <SCRIPT language=Python> works.

<html>
<head></head>
<body>
<h1>Querying database</h1>
<%@ LANGUAGE = Python%>
<%
text="abc"
%>
<%= text%>
</body>
</html>

Any ideas?
Thanks



More information about the Python-list mailing list