File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30749
    
156

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