On Wed, Mar 18, 2009 at 10:54 AM, <[email protected]> wrote:
> Hi !
>
> I'm new to Python. I'm having some difficulties to redirect the pages
> using python. Every time when I redirect, the URL changed accordingly.
>
> (Example : from http://localhost:9999 to
> http://localhost/hello.py?name='J <http://localhost/hello.py?name=%27J>')
>
> What's the Python way of implementing this ? Can anyone help me out on
> this ?
>
>
Depends on what framework you're using.
In CherryPy it would be:
raise cherrypy.HTTPRedirect("/hello?name='J'")
What are you using to build your webpage?
--
http://mail.python.org/mailman/listinfo/python-list