[Zope] problem with URL when calling script

Dieter Maurer dieter at handshake.de
Wed Mar 3 15:19:39 EST 2004


Martin Herceg wrote at 2004-3-3 10:48 +0100:
>i have one question about calling python script from ZPT
>my original url is ...:8080/index_html
>and when i call script 
>my url after this is ....:8080/skript and not ...:8080/index_html
>any idea?
>---------------------------------------------------------------------------------
>PAGE TEMPLATE
>---------------------------------------------------------------------------------
>    <form name="pokus" method="post" action="skript"><input type="submit"                                                  

When you submit this form, the URL changes (as given by the
"action" attribute of "form").

You can redirect in your script, when you do not like the URL.

-- 
Dieter



More information about the Zope mailing list