This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginner Question: jsp can include non-struts tags?

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34195
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic