HighDots Forums  

what is: form action="/"?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss what is: form action="/"? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zhidian Du
 
Posts: n/a

Default what is: form action="/"? - 06-27-2004 , 10:35 PM






I am using java to write to url, http://fatigo.bioinfo.cnio.es/ , but
I found the form is :

<form method="post" action="/" enctype="multipart/form-data"
name="fatigo">


I have no idea why the action is not a URL, can you explain it why.

Thanks.

Reply With Quote
  #2  
Old   
Mark Tranchant
 
Posts: n/a

Default Re: what is: form action="/"? - 06-28-2004 , 03:20 AM






Zhidian Du wrote:
Quote:
I am using java to write to url, http://fatigo.bioinfo.cnio.es/ , but
I found the form is :

form method="post" action="/" enctype="multipart/form-data"
name="fatigo"


I have no idea why the action is not a URL, can you explain it why.
The action is a URL: it is the URL whatever the server is configured to
serve at the root of the current webspace. It could be "index.php" for
example.

It's the same mechanism that allows you to type:

http://www.example.com/

instead of

http://www.example.com/index.php

--
Mark.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.