• Post Reply Bookmark Topic Watch Topic
  • New Topic

Inheritance in Struts Forms  RSS feed

 
Yakov Sobolev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I use inherotance with Struts Forms? I have page information that is common to all my pages. I want to share it and be able to access it in all Forms.Can I access fields of the parent form in JSP page?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36446
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yakov,
Yes, you can use inheritance in forms. Just make sure that the parent form extends ActionForm.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!