Re: additional scope of a variable

2007-01-05 Thread fausto mancini
Googling I've found this one: http://forum.java.sun.com/thread.jspa?threadID=789652&messageID=4487444 Leon Rosenberg wrote: Thanx for enlightening :-) Now, when do you actually intend to serialize servlets? :-) Leon On 1/5/07, fausto mancini <[EMAIL PROTECTED]> wrote: From Serializable int

Re: additional scope of a variable

2007-01-05 Thread Leon Rosenberg
Thanx for enlightening :-) Now, when do you actually intend to serialize servlets? :-) Leon On 1/5/07, fausto mancini <[EMAIL PROTECTED]> wrote: From Serializable interface javadoc: The serialization runtime associates with each serializable class a version number, called a serialVersionUID,

Re: additional scope of a variable

2007-01-05 Thread fausto mancini
From Serializable interface javadoc: The serialization runtime associates with each serializable class a version number, called a serialVersionUID, which is used during deserialization to verify that the sender and receiver of a serialized object have loaded classes for that object that are co

Re: additional scope of a variable

2007-01-05 Thread Antonio Petrelli
Leon Rosenberg ha scritto: Hi Antonio, looking at your example app I have a rather side-question: Why do you add serialUid to your servlets? Because Eclipse gives me a warning, and I generated a serialVersionUID. Yes, I know it is not a good point :-) Antonio ---

Re: additional scope of a variable

2007-01-05 Thread Leon Rosenberg
Hi Antonio, looking at your example app I have a rather side-question: Why do you add serialUid to your servlets? public class WindowScopeTestServlet extends HttpServlet { /** * */ private static final long serialVersionUID = 8996558090818213997L; ... Leon On 1/5/

Re: additional scope of a variable

2007-01-04 Thread Antonio Petrelli
Leon Rosenberg ha scritto: If you want to start a project which performs a better (or more powerful) attribute management than struts does, feel free to do this on java.net or sourceforge (I'd even conribute some code :-)) but don't expect it to become a part of struts anytime. Err... maybe it

Re: additional scope of a variable

2007-01-04 Thread Leon Rosenberg
You are opening a real can of worms :-) The reason struts (and any else framework out there) support the 4 scopes is that those are the four defined by the servlet spec, and thus available in any container. Of course each application may and many will have some additional requirements. After a w

additional scope of a variable

2007-01-04 Thread Asthana, Rahul
Hi all, Leons posting about the scopes reminded me of something I have been meaning to post. My application is organized into logical modules, such as purchasing,banking, credit , shoppingcart etc. There are some variables that we have to use within a module.So,we added a new scope to our appl