Page 1 of 1

[HTML form] redirect after submit

Posted: Wed 22. Sep 2004, 09:04
by vvo
Hi all,
I have defined a content part HTML in my site.
In this HTML content part I have put a form which submits the form to a Java servlet.
However after a submit the Java servlet returns with a blank screen.
I thought that <input type="hidden" name="redirect" value="http://www.wintergidsen.nl/phpwcms/inde ... ,7,0,0,1,0" id="redirect" /> would redirect to the given page, however this doesn't work.

Is there any other way to redirect to a page after submitting a form?

Ciao,


Johan.

Posted: Wed 22. Sep 2004, 09:33
by Ghost25
Hello vvo

You have the follow Code insert to HTML CONTENT PART in your ARTICLE

Code: Select all

<input type="hidden" name="redirect" value="http://www.wintergidsen.nl/phpwcms/index.php?id=1,7,0,0,1,0" id="redirect" />
This Code has a FAILURE. The correct Code i think is this one

Code: Select all

<input type="hidden" name="redirect" value="http://www.wintergidsen.nl/phpwcms/index.php?id=1,7,0,0,1,0" id="redirect">
Ithink the last SLASH ( / ) is to much

Greets by Ghost25