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 Beginner Question: jsp can include non-struts tags? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Beginner Question: jsp can include non-struts tags?" Watch "Beginner Question: jsp can include non-struts tags?" New topic
Author

Beginner Question: jsp can include non-struts tags?

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Can the jsp include non-struts tags, and still have those form fields automatically loaded into ActionForm? Or ActionForm contains only those where struts tags were used?

example: instead of html:text, i use a simple html text input element?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Jesus,
If you use non-struts tags, the values do populate on form submit into the ActionForm. However the values from the ActionForm do not populate the HTML forum when you load the page. In other words, if you are relying on Struts to initialize your form fields, including non-Struts tags will cause problems.


[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: Beginner Question: jsp can include non-struts tags?