You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by Apache Wiki <wi...@apache.org> on 2006/12/23 00:51:23 UTC

[Struts Wiki] Update of "ActionForms" by RichardTeviotdale

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by RichardTeviotdale:
http://wiki.apache.org/struts/ActionForms

------------------------------------------------------------------------------
  'public FooForm extends ActionForm {'
  
  
- 
- 
+ ----
+ '''How to generate a serialVersionUID'''
+ The java sdk provides a command line tool to generate serialVersionUID's for classes. Change to the
+ top level directory for the package containing your class and enter the following shell command:
+ {{{
+ serialver -classpath "./:/path/to/lib/struts-core-x.x.x.jar:/path/to/lib/javax.servlet.jar" com.domain.package.ClassName
+ }}}
+ '''Note:'''[[BR]]
+ /path/to/lib/ = path to your jar files[[BR]]
+ com.domain.package.ClassName = fully qualified classname
  
  ----