getLastModified in Struts

2005-09-15 Thread Yaakov Chaikin
Is there a way in Struts to tell a client issuing a conditional GET request not to re-execute the action? In a regular servlet you can just implement logic in the getLastModified method. Is there something similar in Struts? Thanks, Yaakov. ---

Re: [OT] Serialization and no-arg constructor. Is it needed?

2005-06-29 Thread Yaakov Chaikin
On 6/29/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Yaakov Chaikin wrote: > > Here is the line from the spec: > > A Serializable class must do the following: > > . > > Have access to the no-arg constructor of its first non-serializable > > supercla

[OT] Serialization and no-arg constructor. Is it needed?

2005-06-29 Thread Yaakov Chaikin
I read the Java Serialization spec and don't understand the line about the no-arg constructor. Since different tiers (web vs bisiness) as well as HttpSession migration often uses serialization to pass objects through the "wire", it seems important. Here is the line from the spec: A Serializable c

Re: Eclipse plug-in for Struts

2005-06-22 Thread Yaakov Chaikin
Take a look at www.m7.com. They have a free Eclipse plugin for JSP editing (I doubt anything beats it: it's almost like Dreamweaver.) They also have NitroX (a Struts plugin) for Eclipse. It's pretty expensive though, but it's very nice. Yaakov. On 6/22/05, Tony Smith <[EMAIL PROTECTED]> wrote: >

Re: [OT] Serializing object with null pointers (performance?)

2005-06-20 Thread Yaakov Chaikin
tiate it from the full blown FacilityVo. It got messy and not > > very OO at all. > > > > We were thinking that a much cleaner model would be to model real > > world objects, not screens. This way, the entire dev team can share > > the same objects. Less maintenance,

Re: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Yaakov Chaikin
Thanks, Yaakov. > > Regards > Leon > > > -Ursprüngliche Nachricht- > > Von: Yaakov Chaikin [mailto:[EMAIL PROTECTED] > > Gesendet: Sonntag, 19. Juni 2005 20:11 > > An: Struts Users Mailing List > > Betreff: Re: [OT] Serializing object with null pointers (per

Re: [OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Yaakov Chaikin
d of writeObject(). > > Unless you're doing a hell of a lot of serialization and profiling has > shown that it's causing a performance bottleneck I wouldn't touch what > you have. > > L. > > Yaakov Chaikin wrote: > > Hi all, > > > >

[OT] Serializing object with null pointers (performance?)

2005-06-19 Thread Yaakov Chaikin
Hi all, I have the following situation. I have a Vo model that is in essence a domain/business object model. Of course, a particular screen doesn't need the entire model to be loaded with data. So, what I was thinking is 1) Make all class variables objects (as opposed to primitives, most are objec