By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,116 Members | 1,509 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,116 IT Pros & Developers. It's quick & easy.

post

P: n/a

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>

*** Sent via Developersdex http://www.developersdex.com ***
Jan 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VA Handerson wrote:
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.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jan 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.