Re: html servlet flow



Jeff Kish <kishjjrjj@xxxxxxxxxxx> said:
Hi.

I'm looking at the lessons in:

http://pdf.moreservlets.com/More-Servlets-and-JSP-Chapter-02.pdf

[...]

Hello,

looks like you need to take a couple of steps back, and get an understanding
of the very basics of the web; that is HTML and HTTP.

Then the next step is to map this knowledge to how servlet containers and
servlets work.

After this, it could be good to look at client-side programming (Javascript,
mostly), to get an idea of what can be done on client-side.

This, combined with understanding of how HTML is rendered to visible pages
on the browser (starting with how the document is structured, and continuing
on how to control the rendering with CSS), brings understanding of what
can be achieved with AJAX (which is currently considered somewhat
state-of-the-art way to build web-based user interfaces).


HTML is the main content for a web page; it brings the structure and text
content of the page. Unfortunately HTML in practice also often contains
visual markup definition, even though it should be limited to just structural
markup. CSS should be used for the visual side.

HTTP is the protocol used to transport requests from the client (browser)
to the server, and responses back to the client. The main protocol level
commands for HTTP are GET and POST (others exist, but they are for other
uses than plain browsing).

HTML forms are pretty well desribed here:
http://www.w3schools.com/html/html_forms.asp
http://www.w3schools.com/tags/tag_form.asp

.... and to see what goes on between browser and server, I recommend using
Firefox browser with the TamperData extension; it's a real delight.
Firefox also provides some extensions to edit CSS in real time for the
document being displayed, which helps in understanding various details
in CSS.

Regarding servlets, once you understand the browser-server -interaction
model, the Servlet Specification should be good reading:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
.



Relevant Pages

  • Re: Free software for Macs to design webpages?
    ... template web generators and CSS support programs at ... And there are a lot of template out ... When you do learn HTML and CSS you can always tweak things. ... There just seem too many browser and other quirks to take into ...
    (comp.sys.mac.system)
  • Re: How can I prevent spaces between tags being rendered?
    ... This really is a pure CSS question as it relates to why I ... remove whitespace between a list of tags. ... What determines the arrangement of the HTML received by the ... browser is not the browser and not CSS. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: OT: Comparison of Unix systems and window managers
    ... I'm using tables for layout on my site, but CSS for all the ... formatting is a noble ideal, but using CSS to emulate a table seemed ... and doing "100% of HTML generated by code". ... you get often varies from browser to browser, ...
    (rec.crafts.metalworking)
  • Re: App to maintain website - recommendations?
    ... If you already have a bit of a grasp of HTML and perhaps CSS, ... you can tap the whole world of competent templates. ... browser to the right of my newsreader... ...
    (comp.sys.mac.apps)
  • Re: PRINT statement and newline, beginner question
    ... messages to the browser, but all my output mashes together. ... A couple of neat tricks for debugging while making HTML code are: ... the need for you to use codes for each newline. ... I've done that before in other environments and have also put css ...
    (comp.databases.pick)