Hi,
sendRedirect() ends up in the same frame and sometimes this is a
problem.
bye,
Mohan
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found
Hi,
I'll add my 2ec regarding the topic:
I agree what it has been said here about each page being modeless and
that you have to be careful in case some users get out of the "normal
application path" through the back button, shift click... My approach in
such systems has been not to trust the user
per > andrews university > www.andrews.edu
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey
> Sent: Monday, May 08, 2000 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: model
What I mean is, if I type in http://xxx.xxx.xxx.xxx (or www.domain.com) when
they get to my site, the web browser URL box shows
http://xxx.xxx.xxx.xxx/index.html Even if you don't specify index.html when
you enter the address.
So, my question is, like so many sites I see..how do you get it so th
Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey
> Sent: Friday, May 05, 2000 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: model 2 servlet mapping question
>
>
> Hi Chris,
>
>
Hi,
Regarding applet caching... A solution has been "there" since a long
time ago(at least 3-4 years). It is called Channels and it was developed
by some members of the original team that created Java. They lef Sun and
created a company called Marimba and developed something like applets
which ar
]
> Subject: Re: Web Apps and state machines (was: model 2 servlet mapping
> question)
>
>
> > On a totally non-Java note, this company has a business built around
> > this exact point. (Their tools are for Delphi and C++Builder)
> >
> > www.astatech.com
>
> An
> On a totally non-Java note, this company has a business built around
> this exact point. (Their tools are for Delphi and C++Builder)
>
> www.astatech.com
An interesting tool, but perhaps it requires a bit too much work on the part
of the user -- or I just didn't get it (which is normally the c
> The real key is that the browser is simply not the best platform for
> delivering interactive applications over the Internet. Many companies
> realize this, but many more think that a browser is a good tool for
doing
> applications. They are generally wrong. The best Internet
applications
> t
Well broadly yes.
Just make sure we do not confuse workflow with transaction.
A *multi-page form* is in my context a workflow; each page in the flow
submits to an action that performs a discrete transaction. As David points
out each page needs to be self-contained. We have both concluded the
criti
You are right on all counts. The approaches to concurrency that you
mentioned are often missed by the current crop of "newbie" server
developers. These issues date back at least 20 years (as far I as
personally know!) since the early mainframes still had multiple users at the
same time.
A whole
t: Re: Web Apps and state machines (was: model 2 servlet mapping
>question)
>
>
>RE: Concurrency
>I agree that each "page action" is by necessity a discrete transaction.
>
>The issue is a standard multi-user problem - in the absence of a
>stateful locking scheme i
RE: Concurrency
I agree that each "page action" is by necessity a discrete transaction.
The issue is a standard multi-user problem - in the absence of a
stateful locking scheme is the data I am writing consistent with what I read
?
There are many approaches:
- re-read the record and compare each
> 3. in general this can be handled OK if the site has an entry point
> that performs authentication and then records the successful login in
> the session. Any leap into the site behind this URL via a bookmark
> will fail because the session will not exist or will not contain the
> "successful lo
Thanks for the input David - all excellent caveats to keep in mind.
Now let's see if the group can resolve some of the issues (jump in one and
all).
Taking items 1-4 to start with (not necessarily in that order though):
3. in general this can be handled OK if the site has an entry point
that pe
Interesting that you mention about the BACK button. We have a problem on our
site with the back/forward button. When I set the header of every page to
not cache so that it always goes to the server, if the back button is used,
the page has expired! If I allow caching, then they sometimes get a bro
Model 3? Can you elaborate on this one?
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Lopez
> Sent: Friday, May 05, 2000 1:19 AM
> To: [EMAIL PROTECTED]
> Subject: R
Hi Chris,
Thanks for the site..I didn't know you could use one frame in a frame set. I
had two..with one going to a blank page and being 0 in height. Seems to
work.
We don't want bookmarking on our site anyways, so it doesn't bother us that
they can't bookmark. The only thing I notice is that in
> For a start, sure HTTP is a stateless protocol but almost all web
> *applications* involve the maintenance of some form of
> state. Isn't that what the session object is all
about?
> Moreover, there is invariably a persistence layer e.g. RDBMS behind all
> this.
This is absolutely true, and is
Not really, or at least not in the context it was being used.
For a start, sure HTTP is a stateless protocol but almost all web
*applications* involve the maintenance of some form of
state. Isn't that what the session object is all about?
Moreover, there is invariably a persistence layer e.g. RDB
You could be in a lot of trouble because the web really works best in a
stateless environment, and a state machine is the exact opposite solution.
David
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-IN
Hi!
Talking about web apps and state-machine I have some questions:
* What are we actually talking about?
In my understanding, we're talking about web applications that have a model
stored in the session which "is" a finite state machine, and
Always in my understanding, and this is how the thin
Hi,
I'm not sure whether I was the one or not(who cares? ;)) But you are
right in the sense that I already talked about that. In our framework
(WebLeaf) the configuration of an Operation might look like that:
If everything goes fine, control is forwarded to UI_PATH; if something
went
The first concrete example of mapping action "status/result" to destination
was given by Daniel to my recollection. It was part of his webleaf project.
There was mention also of a "state-machine" approach.
I prefer the "state-machine" approach for my specific application.
I deal with leasing syste
>
> You are correct. Thats a good point as well. I only wish I could
> "hide" the
> URL line. I don't mind that it isn't up to date as far as the
> page..but the
> actual Login.do that keeps showing up isn't so prety either. I am thinking
> of setting up a frame layout so that it always shows the
ahan
> Sent: Thursday, May 04, 2000 9:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: model 2 servlet mapping question
>
>
> Chris Wilson wrote:
>
> >
> > >
> > > So the question then is, is it really worth it to use the
> forward() call
> > > over s
Chris Wilson wrote:
>
> >
> > So the question then is, is it really worth it to use the forward() call
> > over sendRedirect() if at most we will have 1000 to 3000 people a DAY (not
> > hour, not minute) use our site? How much faster is it to use
> > forward() over
> > sendRedirect() as far as e
s shows the home site url.
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Wilson
> Sent: Thursday, May 04, 2000 8:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: model 2 ser
Hi,
Thanks..I do something similar. However, because I want to have the ability
to redirect to more than one possible page from each action, what I am doing
now is having each action return a "result" string. My xml config file will
look like:
Login
package.Login
Successful
/insi
Kevin,
I seem to recall you stating once that you kept the rd.forward out of the
action classes and in the controller.
I do the same and in this case adding page tracking is trivial since you can
just add the tracking to the controller and not all the action classes.
I use a simple session attribu
>
> So the question then is, is it really worth it to use the forward() call
> over sendRedirect() if at most we will have 1000 to 3000 people a DAY (not
> hour, not minute) use our site? How much faster is it to use
> forward() over
> sendRedirect() as far as each client on our site sees it?
>
ay, May 04, 2000 12:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: model 2 servlet mapping question
>
>
>
> The "referer" header is set by the browser, based on what URI it
> thinks the
> form
> was on. But, if you're using a Model 2 approach (with a
> Requ
The "referer" header is set by the browser, based on what URI it thinks the
form
was on. But, if you're using a Model 2 approach (with a
RequestDispatcher.forward() from the controller servlet to the JSP page)
then the
browser does not know this happens -- therefore it will not set the referer
t
Kevin Duffey wrote:
> I can confirm this. I spoke with Magnus yesterday and he said they are
> looking in to it. He is under the assumption thus far that you do need a
> file for the mapping to work. I did explain that Craig showed the order of
> mapping, there are 4 of them. The last one, if the
I can confirm this. I spoke with Magnus yesterday and he said they are
looking in to it. He is under the assumption thus far that you do need a
file for the mapping to work. I did explain that Craig showed the order of
mapping, there are 4 of them. The last one, if the first 3 are not met,
would l
IL PROTECTED]]On Behalf Of Daniel Lopez
> Sent: Wednesday, May 03, 2000 2:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: model 2 servlet mapping question
>
>
> Hi Chris,
>
> I think that's an Orion problem. I've successfully used this technique
> with JRun an
Hi Chris,
I think that's an Orion problem. I've successfully used this technique
with JRun and Resin and you DON'T need to have a file with that name, as
Craig explained in a message some time ago. Somebody told me they were
having similar problems with Orion and that somebody from the Orion team
hello all,
i've really been enjoying the model 2 discussions. craig and daniel, thanks
for all your informative insights. the ideas discussed have transformed how
i think about developing web applications--now i just have to get my
colleagues on board! :)
anyhow, here's my question. i'm attem
38 matches
Mail list logo