I think i got why it makes sense to add that extra line in my action.
Appreciate ur time for explaining that
--
View this message in context:
http://www.nabble.com/action-does-not-declare-serialversionuid-warning-tp24629700p24631992.html
Sent from the Struts - User mailing list archive at Nabbl
sn't make sense, try googling and reading up a bit.
HTH,
-dave
> -Original Message-
> From: anand nandu [mailto:anand8...@gmail.com]
> Sent: Thursday, July 23, 2009 1:49 PM
> To: user@struts.apache.org
> Subject: RE: action does not declare serialversionuid warning
>
>
"Adding that to your action classes would help to eliminate user sessions
loosing state in between servletcontext restarts."
I really didnt understand what exactly this means...
You are talking abt the form fields parameters in jsp?
--
View this message in context:
http://www.nabble.com/action-
>
>
> when Action extends Action Support i get a warning action does not declare
> serialversionuid.
> Please excuse my ignorance if this was basic questions...
>
> 1) what is advantage of declaring serialversionuid in action class?
>
> 2) when does the action class gets serialized.Even in Cluster
Adding that to your action classes would help to eliminate user sessions
loosing state in between servletcontext restarts. Since action classes
will most likely contain several POJO-like properties which are set from
user input, it is not be a bad idea to add that variable to your
classes. It wou
5 matches
Mail list logo