Re: html servlet flow
- From: Juha Laiho <Juha.Laiho@xxxxxx>
- Date: Sun, 18 Jun 2006 09:12:03 +0000 (UTC)
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)
.
- References:
- html servlet flow
- From: Jeff Kish
- html servlet flow
- Prev by Date: Re: Find out really (!) the path / getParent() not working
- Next by Date: Re: Where is javac.
- Previous by thread: Re: html servlet flow
- Next by thread: Where is javac.
- Index(es):
Relevant Pages
|