Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 17th, 2004, 06:26 PM
Registered User
 
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTML & IIS

Hi
I'm building my first website using HTML, Javascript and ASP. To facilitate the server side script, I'm running the site from IIS. My first page is an HTML form with a submit link to another HTML page. The link won't work. If I replace it with a link to an ASP page, it works perfectly.

Does anyone know what I'm doing wrong?

M

 
Old November 18th, 2004, 04:30 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Why u r actioning FORM submission to an html page?
Use method="get" it'll go to html page !
But target html can't accept POST/GET variables
Use action="./xyz.asp" { method="get" or method="post" }

 
Old November 18th, 2004, 04:45 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi M,

Posts to .htm & .html pages will return a 405 unless you map the file extensions to a script engine.

The following article may be of use http://www.somacon.com/docs/iis_http...wed_error.html

HTH,

Chris


 
Old November 22nd, 2004, 03:16 PM
Registered User
 
Join Date: Nov 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what a question!
actioning to a static page leads to a common http405 error message , because the html page is not capable of dealing with the data sent by the sender.
consult some books on "get to know about asp and html" :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Plz Help me?? IIS & Active Directory sangram.c General .NET 0 November 20th, 2007 08:29 AM
Caching & IIS 6.0 xavierk ASP.NET 2.0 Professional 0 August 7th, 2007 02:17 AM
Problem with IIS & .NET anujrathi General .NET 1 May 4th, 2006 07:10 AM
MSXML4.0: 1) Getting Started & 2) First XSL & HTML BigOcean XSLT 1 February 25th, 2005 05:44 PM
LDAP & IIS r_ganesh76 ASP.NET 1.0 and 1.1 Professional 0 December 13th, 2004 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.