Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How does it work? sent form request to html ?  RSS feed

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

in this website
https://www.deutschepost.de/sendung/simpleQuery.html

it sent request to html instead ? how could it work? i thought you could only send format to jsp, asp, php, or etc
could somebody example to me? could html page also process form request?

<FORM class=cl action=/de/toolbar/suchergebnisse.html><INPUT name=_charset_ type=hidden value=UTF-8>

Thanks!
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at the page source the forms in this page do have actions for .html

At the server side this may get directed to some other kind of server side processing resource. i.e. although a .html is requested it may get tranlated to a .jsp etc.. this is one way of hiding the server side technology that processes your form..
 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the explaining!
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the URL does not necessarily indicate whether the content behind it is static or dynamic. Look at the URLs on this site - they have no file extensions at all (which is actually the norm these days for public sites due to SEO reasons). It would be trivial to build a JSP app that has nothing but ".php" URLs
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!