aspose file tools*
The moose likes Struts and the fly likes Inheritance in Struts Forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Inheritance in Struts Forms" Watch "Inheritance in Struts Forms" New topic
Author

Inheritance in Struts Forms

Yakov Sobolev
Greenhorn

Joined: Aug 10, 2004
Posts: 2
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

Yakov,
Yes, you can use inheritance in forms. Just make sure that the parent form extends ActionForm.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inheritance in Struts Forms
 
Similar Threads
Setting data to more than one form
Variable for a form value?
Struts 1: Selective Validation of Form
Loading multiple forms in single jsp
Tiles Multiform submit