ASP Server.Execute Method
Last Updated :
18 Apr, 2023
The ASP Server.Execute Method is used to execute various ASP scripts from the ASP File. This method is quite similar to the procedure call approach in some programming languages.
Syntax:
Server.Execute(path)
Parameter Values
- Path: It stores a string value that represents the location of the .asp file to execute.
Example Code:
Sudo.asp
<%
response.write("Geeks For Geeks!<br>")
%>
GFG.asp
<%
response.write("Welcome to <br>")
Server.Execute("file2.asp")
%>
Output
Welcome to
GeeksForGeeks
Share your thoughts in the comments
Please Login to comment...