Help for a newbie

S

SBC Global

Hi All,
I have 3 files I am using, Index.html, Test.asp, MyNewpage.html.
I am try to load MyNewPage.html into Test.asp.

Index.html has a link as follows:
<a href="test.asp?np=mynewpage.htm">My Link</a>

Here is what I have in test.asp:
<html>
<head>
<title>Test Page</title>
</head>
<body>
<%
Dim newpage
newpage = request.querystring("np")
server.execute newpage
%>
</body>
</html>

What i keep getting is an error, page cannot be found.
I have tried using fully qualified names and still get an error.

Any help would be appreciated.
TIA
Steve Karnath
 
M

MSFT

Are these three files in same virtual folder? You also can use following
code for testing:

<%
Dim newpage
newpage = request.querystring("np")
response.Write newpage
%>

To check if the "newpage" is the right string you want.

Luke

"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026?? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
http://www.microsoft.com/security/security_bulletins/ms03-026.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the SCAN program from the Windows Update site will help to
insure you are current with all security patches, not just MS03-026."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top