Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inheritance in Struts Forms

 
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: 35762
412
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.
 
Water! People swim in water! Even tiny ads swim in water:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!