Believe you need to add <%@ LANGUAGE="VBSCRIPT" %> at
the very top of requestForm_Results.asp.  


--- Arthur Gracus <[EMAIL PROTECTED]> wrote:
> 
> Greetings,
>  
> I picked up this book - ASP Programming for the
> absolute beginner - and I think there must be
> something missing from the example code because the
> value entered into the field does not get displayed
> on the results page.  It looks like the code on the
> results page is correct but I can't say about the
> other page since I am an absolute beginner.  I am
> using XP Pro which is not mentioned in the book.
>  
> I did not see this book on the good ASP books list
> so maybe it is poor. Comments on that?
>  
> Below are the two "files" straight from the authors
> CD and their content.  Is there something missing? 
> The next example uses similar code syntax and does
> not work either.
>  
> RequestForm.asp
<%@ LANGUAGE="VBSCRIPT" %>
> <html>
> <head>
> <meta http-equiv="Content-Language" content="en-us">
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252">
> <meta name="GENERATOR" content="Microsoft FrontPage
> 4.0">
> <meta name="ProgId"
> content="FrontPage.Editor.Document">
> <title>Example of the Request Object</title>
> </head>
> <body>
> <p><b>This is an example of the Request
> Object!</b></p>
> <form method="POST"
> action="RequestForm_Results.asp">
>   <p>This is a typical HTML form.&nbsp; In the space
> provided, enter your name
>   and then click on the Submit button.</p>
>   <p><input type="text" name="Name" size="20"><input
> type="submit" value="Submit" name="B1"></p>
> </form>
> <p>&nbsp;</p>
> </body>
> </html>
>  
> RequestForm_results.asp
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252">
> <meta name="GENERATOR" content="Microsoft FrontPage
> 4.0">
> <meta name="ProgId"
> content="FrontPage.Editor.Document">
> <title>Example of Form Processing with the Request
> Object</title>
> </head>
> <body>
> Welcome <%=Request.Form("Name")%> to the world of
> ASP!
> </body>
> </html>
> 
>               
> ---------------------------------
> Do you Yahoo!?
>  Yahoo! Small Business - Try our new resources site!
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 
> 
> 
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to