|
By your definition, a function key on a 5250 is a request from the
user.
But in JSP Model 2, the browser acts as a slaved device
to the host application that is functionally equivalent to the 5250.
Date: Fri, 18 Jul 2008 10:08:39 -0500
From: joepluta@xxxxxxxxxxxxxxxxx
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] The "Presentation" Layer
john e wrote:
Joe,By your definition, a function key on a 5250 is a request from the
Again, model 1 or 2, the servlet is a server program. It's not that you can simply start a servlet which then displays a page. The output of a servlet is always in response to an HTTP request.
In model 2 simply more of the application code (like what page to display next) resides on the server. But it's still client/server.
You said "the SUBMIT button on the JSP page returns to the calling servlet.". It does not return. A SUBMIT is a request. It is the beginning of a request-reponse cycle, not the end. The framework simply assures that the SUBMIT request is delegated to the same servlet that produced the page containing the SUBMIT.
user. In JSP Model 2 there is no functional difference between what the
browser does (display information from the host, allow user to enter
data, and then hit a button) and what the 5250 does (display information
from the host, allow user to enter data, and hit a function key).
Yes, the mechanics are different, and that's the disconnect between the
two approaches. But in JSP Model 2, the browser acts as a slaved device
to the host application that is functionally equivalent to the 5250.
But since the request is coming back to the servlet in response to the
page just displayed, the application architecture is sever/client.
If you disagree, that's cool. I'll just get out of the thread. I've
been doing this for too long to fight about semantics.
Joe
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.