from bottle import run, route
@route('/index')
def f_index():
return("""
<html>
<form action="/A1" method="post">
<input value="A1" type="submit" />
</form>
""")
@route('/A1')
def A1():
return("""
<html>
Hello world !
</form>
</html>
""")
run(host='localhost', port="8080", debug=True)