通过URL代入参数,在代码中读取,如:http://localhost:8501/?ServerPort=212&&ServerIP=192.168.31.12在代码中可以通过:FServerIP := UniApplication.Parameters.Values['ServerIP']; FServerPort := UniApplication.Parameters.Values['ServerPort'];呵呵,很简单哈