post

V

VA Handerson

I coded the simple page using ASP.NET extension.
this code is located under the virtual directory called DEVWRK. I typed
the link as blow and it works.

http://localhost/DEVWRK/ASPDOTNET/SimpleHTML.aspx

but when I submit the form, I have an error message saying that "The
page cannot be displayed". The HTML form should post back to itself.
what did I do wrong?

------------------------------------------

<html>
<head>
<title>Simple HTML Page</title>
</head>

<body>

<form method="post" action="SimpleHTML.aspx">
<b>Username:</b>
<br><input name="username" type="Text" size="30">
<P>
<b>Comments:</b>
<br><textarea name="comments" cols="60" rows="10"></textarea>
<p>
<input type="Submit" value="Add Comment">
</form>
</body>
</html>
 
D

David Dorward

VA said:
I coded the simple page using ASP.NET extension.

What does that have to do with JavaScript? There isn't in the code you
included.
I have an error message saying that "The page cannot be displayed". The
HTML form should post back to itself.

Sounds like an Internet Explorer "friendly" error message. You'd need to
read the error to find out what the problem actually is (e.g. it could be
an internal server error, or it could be a server not found, etc).

Whatever the problem is, this isn't the right place to ask about it. Try a
newsgroup about your webserver or ASP.NET.
 

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
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top