What was that about scriptlets??

...thanks Simon,

HM

On 15 Oct 2002 at 14:53, Chappell, Simon P wrote:

> In a nutshell (I'll let someone else explain the slow version) the page scope is for 
>information that only literally exists for the duration of time taken to render a 
>page. This is obviously not a very long period of time and not terribly useful in 
>Struts, but it is a defined scope according to 
the JSP specs and so Struts allows it.
> 
> Those most likely to use the page context would be those who write scriptlets 
>directly into their pages. Scriptlets are worse than evil, so don't ever use them. 
>Don't even think about using them. Don't even think about thinking about using them!!!
> 
> Request scope is everything that takes place between submitting a form to the great 
>void known as the Internet and getting something back. This can involve multiple 
>backend forwards and other bizarre things that are best not thought about once the 
>sun has gone down for the day. (And don't use 
scriptlets).
> 
> Hope this helps.
> 
> Simon
> 
> -----------------------------------------------------------------
> Simon P. Chappell                     [EMAIL PROTECTED]
> Java Programming Specialist                      www.landsend.com
> Lands' End, Inc.                                   (608) 935-4526
> 
> 
> >-----Original Message-----
> >From: Howard Miller [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, October 15, 2002 2:45 PM
> >To: struts Users Mailing List
> >Subject: Request v Page scope?
> >
> >
> >Hi,
> >
> >Can somebody explain (slowly) the difference between Request 
> >scope and Page scope - I particularly don't understand what the 
> >intended purpose of Page scope is.
> >
> >HM
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> ><mailto:[EMAIL PROTECTED]>
> >
> >
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to